Interface BaselineResource
- All Superinterfaces:
DavResource,DeltaVResource,VersionResource
BaselineResource represents the 'version' of a configuration
which is represented by a 'version-controlled-configuration' (VCC) resource.
Such as new versions are created by CHECKIN of a version-controlled
resource, a new baseline is created, whenever the VCC resource, that
represents a set of resources rather than a single resource, is checked-in.
Since the baseline behaves like a VersionResource and only is
defined to provide additional protected properties, this interface only adds
a convenience method that allows to retrieve the baseline collection.
Supported live properties:
DAV:baseline-collection DAV:subbaseline-set all version properties.Supported methods:
all version methods.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DavPropertyNameThe protected DAV:baseline-collection property identifies a distinct collection that lists as members all version-controlled resources of the configuration this baseline belongs to (the baseline being one version of the corresponding vc-configuration-resource).static final DavPropertyNameThe protected DAV:subbaseline-set property identifies a set of baseline resources.Fields inherited from interface org.apache.jackrabbit.webdav.version.DeltaVResource
METHODS_INCL_MKWORKSPACEFields inherited from interface org.apache.jackrabbit.webdav.version.VersionResource
ACTIVITY_SET, CHECKIN_FORK, CHECKOUT_FORK, CHECKOUT_SET, LABEL_NAME_SET, METHODS, PREDECESSOR_SET, SUCCESSOR_SET, VERSION_CONTROLLED_BINDING_SET, VERSION_HISTORY, VERSION_NAME -
Method Summary
Modifier and TypeMethodDescriptionReturn the resource that represents the baseline-collection of this baseline, which is identified the href present in theBASELINE_COLLECTIONproperty.Methods inherited from interface org.apache.jackrabbit.webdav.DavResource
addLockManager, addMember, alterProperties, copy, exists, getCollection, getComplianceClass, getDisplayName, getFactory, getHref, getLocator, getLock, getLocks, getMembers, getModificationTime, getProperties, getProperty, getPropertyNames, getResourcePath, getSession, getSupportedMethods, hasLock, isCollection, isLockable, lock, move, refreshLock, removeMember, removeProperty, setProperty, spool, unlockMethods inherited from interface org.apache.jackrabbit.webdav.version.DeltaVResource
addWorkspace, getOptionResponse, getReferenceResources, getReportMethods inherited from interface org.apache.jackrabbit.webdav.version.VersionResource
getVersionHistory, label
-
Field Details
-
BASELINE_COLLECTION
The protected DAV:baseline-collection property identifies a distinct collection that lists as members all version-controlled resources of the configuration this baseline belongs to (the baseline being one version of the corresponding vc-configuration-resource). In other words: each member in the list must correspond to a member of the baseline-controlled collection at the time this baseline (version) was created.Note that the DAV:baseline-collection represents a
HrefProperty -
SUBBASELINE_SET
The protected DAV:subbaseline-set property identifies a set of baseline resources. Note however, that the subbaselines of this resource are not only formed from the baseline resources listed in this property but also includes all subbaseline resources of the latter. Note that the DAV:subbaseline-set represents aHrefProperty
-
-
Method Details
-
getBaselineCollection
Return the resource that represents the baseline-collection of this baseline, which is identified the href present in theBASELINE_COLLECTIONproperty.- Returns:
- baseline collection
- Throws:
DavException
-