|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Read-only interface describing a repository sub manager for the support of versioned collections. For an explanation of terminological conventions, please see IBasicVersioningMananger. In addition to normal vcrs, the version controlled state of a versioned controlled collection contains the local versioned namespace of the collection, i.e. the set of local names of versioned collection members. Since the version history has to keep track of changes of the version controlled state of a vcr, collection versions contain information about the version controlled binding set of the collection. Since collection versions do not have children, they are not collection themselves.
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.
| Method Summary | |
java.util.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. |
java.util.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. (for an ordered collection, this will be a SortedMap) |
| Method Detail |
public java.util.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 failed
public java.util.Set 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 failed
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||