|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
VersionResource
is a resource that contains a copy of a particular
state of a version-controlled resource. A new version resource is created whenever
a checked-out version-controlled resource is checked-in. The server allocates
a distinct new URL for each new version, and this URL will never be used to
identify any resource other than that version. The content and dead properties
of a version never change.
DeltaVResource
Field Summary | |
static DavPropertyName |
CHECKIN_FORK
This property controls the behavior of CHECKIN when a version already has a successor. |
static DavPropertyName |
CHECKOUT_FORK
This property controls the behavior of CHECKOUT when a version already is checked out or has a successor. |
static DavPropertyName |
CHECKOUT_SET
The computed property DAV:checkout-set identifies each checked-out resource whose DAV:checked-out property identifies this version. The property is defined to have the following format: |
static DavPropertyName |
LABEL_NAME_SET
Required protected property 'DAV:label-name-set' for a version of a webdav resource introduced with the 'LabelInfo' feature. |
static String |
METHODS
The version resource defines one additional method LABEL. |
static DavPropertyName |
PREDECESSOR_SET
The protected DAV:predecessor property identifies each predecessor of this version. |
static DavPropertyName |
SUCCESSOR_SET
The computed property DAV:successor-set identifies each version whose DAV:predecessor-set identifies this version. The property is defined to have the following format: |
static DavPropertyName |
VERSION_HISTORY
The computed property DAV:version-history identifies the version history that contains this version. The property is defined to have the following format: |
static DavPropertyName |
VERSION_NAME
The protected property DAV:version-name defines a human readable id for this version. |
Fields inherited from interface org.apache.jackrabbit.webdav.version.DeltaVResource |
COMPLIANCE_CLASS, METHODS_INCL_MKWORKSPACE |
Method Summary | |
VersionHistoryResource |
getVersionHistory()
Returns the VersionHistoryResource , that is referenced in the
DAV:version-history property. |
void |
label(LabelInfo labelInfo)
Modify the labels of this version resource. |
Methods inherited from interface org.apache.jackrabbit.webdav.version.DeltaVResource |
addWorkspace, getOptionResponse, getReferenceResources, getReport |
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 |
Field Detail |
public static final String METHODS
DeltaVResource.METHODS
,
DavResource.METHODS
,
Constant Field Valuespublic static final DavPropertyName LABEL_NAME_SET
<!ELEMENT label-name-set (label-name*)> <!ELEMENT label-name (#PCDATA)> PCDATA value: string
public static final DavPropertyName PREDECESSOR_SET
<!ELEMENT predecessor-set (href*)>
public static final DavPropertyName SUCCESSOR_SET
<!ELEMENT successor-set (href*)>
public static final DavPropertyName CHECKOUT_SET
<!ELEMENT checkout-set (href*)>
VersionControlledResource.CHECKED_OUT
public static final DavPropertyName VERSION_NAME
<!ELEMENT version-name (#PCDATA)> PCDATA value: string
public static final DavPropertyName VERSION_HISTORY
<!ELEMENT version-history (href)>
public static final DavPropertyName CHECKOUT_FORK
public static final DavPropertyName CHECKIN_FORK
Method Detail |
public void label(LabelInfo labelInfo) throws DavException
LabelInfo
object.
labelInfo
-
DavException
LabelInfo
public VersionHistoryResource getVersionHistory() throws DavException
VersionHistoryResource
, that is referenced in the
DAV:version-history
property.
DavException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |