public interface IMutableBasicVersioningManager2 extends IMutableBasicVersioningManager
Modifier and Type | Method and Description |
---|---|
ICheckInInfo |
checkIn(IResourceHandle resourceHandle,
IRid expectedCheckInRID,
boolean forkOk,
boolean keepCheckedOut,
List properties,
boolean ignorePropertyFailures)
Check in a checked-out vcr to create a new version describing the current
version controlled state of the vcr.
|
checkIn, checkOutInPlace, setAutoChildVersionControlEnabled, setVersionControlEnabled, undoCheckOut, updateFromVersion
getAutoVersioningMode, getCheckedInVersion, getCheckedOutVersion, getPredecessorVersions, getSuccessorVersions, getVersionHistory, getVersionID, getVersionResources, isAutoChildVersionControlEnabled, isCheckedOut, isVersion, isVersionControlEnabled
ICheckInInfo checkIn(IResourceHandle resourceHandle, IRid expectedCheckInRID, boolean forkOk, boolean keepCheckedOut, List properties, boolean ignorePropertyFailures) throws ResourceException
The state of the new version will be initialized from the current state of the given resource, where 'state' is defined to consist of content, dead properties and - in the case of a version controlled collection - the set of version controlled bindings of the collection together with ordering information.
If an expected checkin RID is provided, the method may fail if the server cannot assign this RID to the new version.
The forkOk parameter must be ignored if the server does not support the
interface IAdvancedVersioningManager
, in which case forks
are disallowed anyway. Otherwise, the semantics of this parameter depends
on the fork behaviour of the checked-out version of the given vcr (see
IAdvancedVersioningManager.getCheckInForkBehaviour
): If forks
are strictly allowed or forbidden (as stated by getCheckInForkBehaviour()),
the parameter must be ignored. Otherwise, if forkOk is false and the
checkin created a branched version history, the method must fail.
expectedCheckInRID
- the expected RID of the new version (may be null)forkOk
- allow a new fork in the version historykeepCheckedOut
- if true, the given vcr will be checked out immediatly
after the checkin succededresourceHandle
- handle the resourceignorePropertyFailures
- parameter that ignore failuresproperties
- properties that that must be assigned to the checked in resourceResourceException
- if the resource handle is invalid or the
operation failedAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice