Interface VersionHistoryResource
- All Superinterfaces:
DavResource,DeltaVResource
VersionHistoryResource represents a collection that has
all versions of a given version-controlled resource as members.
RFC 3253 defines the following required properties for a version history:
- DAV:version-set
- DAV:root-version
- all DeltaV-compliant resource properties.
In addition a version history resource must support the following METHODS:
- all DeltaV-compliant resource METHODS.
DAV:resourcetype
property must indicate 'DAV:version-history'.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final DavPropertyNameComputed (protected) property identifying the root version of this version history.static final DavPropertyNameThe protected property DAV:version-set identifies each version of this version history.Fields inherited from interface org.apache.jackrabbit.webdav.version.DeltaVResource
METHODS_INCL_MKWORKSPACE -
Method Summary
Modifier and TypeMethodDescriptionReturns an array ofVersionResources containing all versions that are a member of this resource.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, getReport
-
Field Details
-
METHODS
- See Also:
-
ROOT_VERSION
Computed (protected) property identifying the root version of this version history. -
VERSION_SET
The protected property DAV:version-set identifies each version of this version history.- See Also:
-
-
Method Details
-
getVersions
Returns an array ofVersionResources containing all versions that are a member of this resource.- Returns:
- all
VersionResources that belong to this version history. - Throws:
DavException- See Also:
-