org.apache.jackrabbit.webdav.version
Interface VersionHistoryResource
- All Superinterfaces:
- DavResource, DeltaVResource
- All Known Implementing Classes:
- VersionHistoryItemCollection, VersionHistoryResourceImpl
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.
NOTE: the DAV:resourcetype
property must indicate 'DAV:version-history'.
- See Also:
DeltaVResource
,
ResourceType.VERSION_HISTORY
Method Summary |
VersionResource[] |
getVersions()
Returns an array of VersionResource 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
static final 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()
getVersions
VersionResource[] getVersions()
throws DavException
- Returns an array of
VersionResource
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
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.