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:
In addition a version history resource must support the following METHODS:
DAV:resourcetype
property must indicate 'DAV:version-history'.DeltaVResource
,
ResourceType.VERSION_HISTORY
Modifier and Type | Field and Description |
---|---|
static 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.
|
METHODS_INCL_MKWORKSPACE
Modifier and Type | Method and Description |
---|---|
VersionResource[] |
getVersions()
Returns an array of
VersionResource s containing all versions
that are a member of this resource. |
addWorkspace, getOptionResponse, getReferenceResources, getReport
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
static final String METHODS
static final DavPropertyName ROOT_VERSION
static final DavPropertyName VERSION_SET
getVersions()
VersionResource[] getVersions() throws DavException
VersionResource
s containing all versions
that are a member of this resource.VersionResource
s that belong to this version history.DavException
VERSION_SET
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.