public interface IVersionedCollectionManager
Throughout the documentation of this class, the term 'vcc' will be used to refer to a version controlled collection.
Though this interface is read-only and contains only two simple methods, supporting it has a huge impact on the implementations of the other versioning manager interfaces. While it is quite trivial to keep track of the additional state information in a vcc's version history, the methods IMutableVersioningManager.updateFromVersion() and IMutableVersioningManager.undoCheckout() will become much more complex in the presence of the versioned collection feature, since the restauration of the versioned binding set of a collection has to handle, for example, with namespace collisions and with vcrs sharing version histories. Therefore it is not of much value to support this interface without supporting IAdvancedVersioningManager. TODO mba: explain in detail the semantics of these two methods in the presence of vccs.
Modifier and Type | Method and Description |
---|---|
Set |
getEclipsedSet(IResourceHandle vccHandle)
Returns the collection of local member names of the given vcc which are
eclipsed by members which are not under version control.
|
Map |
getVersionControlledBindingMap(IResourceHandle collectionVersionHandle)
If the given resource handle refers to a version of a vcc, the mapping of
version controlled bindings for this version is returned, where the
mapping's key set contains the local names of the version controlled
internal members of the collection and the value set contains resource
handles of the version histories of the version controlled internal
members.
|
Map getVersionControlledBindingMap(IResourceHandle collectionVersionHandle) throws ResourceException
collectionVersionHandle
- a resource handle referring to a version of
a version controlled collectionResourceException
- if the resource handle is invalid or the
operation failedSet getEclipsedSet(IResourceHandle vccHandle) throws ResourceException
vccHandle
- a resource handle referring to a vccMap
of internal member names of all vcrs that are
currently eclipsed by a non-version-controlled internal member of the
collectionResourceException
- 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