Interface VersionHistoryResource
-
- All Superinterfaces:
DavResource
,DeltaVResource
public interface VersionHistoryResource extends 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:
DeltaVResource
,ResourceType.VERSION_HISTORY
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
METHODS
static DavPropertyName
ROOT_VERSION
Computed (protected) property identifying the root version of this version history.static DavPropertyName
VERSION_SET
The 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VersionResource[]
getVersions()
Returns an array ofVersionResource
s 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, unlock
-
Methods inherited from interface org.apache.jackrabbit.webdav.version.DeltaVResource
addWorkspace, getOptionResponse, getReferenceResources, getReport
-
-
-
-
Field Detail
-
METHODS
static final java.lang.String METHODS
- See Also:
- Constant Field Values
-
ROOT_VERSION
static final DavPropertyName ROOT_VERSION
Computed (protected) property identifying the root version of this version history.
-
VERSION_SET
static final DavPropertyName VERSION_SET
The protected property DAV:version-set identifies each version of this version history.- See Also:
getVersions()
-
-
Method Detail
-
getVersions
VersionResource[] getVersions() throws DavException
Returns an array ofVersionResource
s containing all versions that are a member of this resource.- Returns:
- all
VersionResource
s that belong to this version history. - Throws:
DavException
- See Also:
VERSION_SET
-
-