|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface describing the write methods of a repository sub manager for the
advanced versioning features described in IAdvancedVersioningManager
. For an explanation of terminological conventions, please see
IBasicVersioningMananger.
| Method Summary | |
void |
addLabel(IResourceHandle versionHandle,
java.lang.String label)
Tags the given version resource with the given label. |
ICheckOutInfo |
checkOutWorkingResource(IResourceHandle resourceHandle,
boolean applyToVersion,
boolean forkOk)
If the given resource handle refers to a vcr or a version resource, this resource is checked out to create a new working resource, which is essentially a new vcr with a server-provided RID, based on the given version (resp. the checked-in version of the given vcr) and using the same version history. |
void |
removeLabel(IResourceHandle versionHandle,
java.lang.String label)
Removes the given label from the given version resource, if it is present there. |
void |
setLabel(IResourceHandle versionHandle,
java.lang.String label)
Tags the given version resource with the given label. |
| Methods inherited from interface com.sap.netweaver.bc.rf.mi.version.IAdvancedVersioningManager |
getAutoUpdateVcr, getCheckedOutVCRsByVersion, getCheckInForkBehaviour, getCheckOutForkBehaviour, getLabelSet, getRootVersion, getVCRsBasedOnHistory, getVersionHistoryCollections, getVersionHistoryResource, getVersionResourceByLabel |
| Method Detail |
public ICheckOutInfo checkOutWorkingResource(IResourceHandle resourceHandle,
boolean applyToVersion,
boolean forkOk)
throws ResourceException
Checking out a vcr is roughly equivalent to a checkout of it's checked-in version, with the following additional feature: when the newly created working resource will be checked in, the given vcr will automatically be updated from the newly created version.
The semantics of the forkOk parameter depends on the fork behaviour of the
given (checked-in) version (see getCheckOutForkBehaviour() ):
If forks are strictly allowed or forbidden (as stated by
getCheckOutForkBehaviour()), the parameter must be ignored. Otherwise, if
forkOk is false and the server expects a subsequent checkin to create a
branched version history, the method must fail.
resourceHandle - a resource handle referring to a vcr or a version
resourceapplyToVersion - checkout the checked-in version of the given vcr
rather than the vcr itselfforkOk - allow subsequent forks in version history upon check inICheckOutInfo object containing information about the
results of the checkout processResourceException - if the resource handle is invalid or the
operation failed
public void removeLabel(IResourceHandle versionHandle,
java.lang.String label)
throws ResourceException
versionHandle - a resource handle referring to a version resourcelabel - the label to removeResourceException - if the resource handle is invalid or the
operation failed
public void setLabel(IResourceHandle versionHandle,
java.lang.String label)
throws ResourceException
versionHandle - a resource handle referring to a version resourcelabel - the label to setResourceException - if the resource handle is invalid or the
operation failed
public void addLabel(IResourceHandle versionHandle,
java.lang.String label)
throws ResourceException
versionHandle - a version resource handlelabel - the label to addResourceException - if the resource handle is invalid or the
operation failed
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||