|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VersionResource
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 |
ACTIVITY_SET
DAV:activity-set is a required property for a version resource, if the server supports the activity feature. It identifies the activities that determine to which logical changes this version contributes, and on which lines of descent this version appears. |
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_CONTROLLED_BINDING_SET
If the 'Version-Controlled-Collection Feature' is supported the DAV:version-controlled-binding-set property identifies the name and the version history of all version-controlled internal members of the collection this version resource belongs to. |
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 |
---|
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 |
---|
static final String METHODS
DeltaVResource.METHODS
,
DavResource.METHODS
,
Constant Field Valuesstatic final DavPropertyName LABEL_NAME_SET
<!ELEMENT label-name-set (label-name*)> <!ELEMENT label-name (#PCDATA)> PCDATA value: string
static final DavPropertyName PREDECESSOR_SET
<!ELEMENT predecessor-set (href*)>
static final DavPropertyName SUCCESSOR_SET
<!ELEMENT successor-set (href*)>
static final DavPropertyName CHECKOUT_SET
<!ELEMENT checkout-set (href*)>
VersionControlledResource.CHECKED_OUT
static final DavPropertyName VERSION_NAME
<!ELEMENT version-name (#PCDATA)> PCDATA value: string
static final DavPropertyName VERSION_HISTORY
<!ELEMENT version-history (href)>
static final DavPropertyName CHECKOUT_FORK
static final DavPropertyName CHECKIN_FORK
static final DavPropertyName ACTIVITY_SET
<!ELEMENT activity-set (href*)>Note that the DAV:activity-set represents a
HrefProperty
static final DavPropertyName VERSION_CONTROLLED_BINDING_SET
<!ELEMENT version-controlled-binding-set (version-controlled-binding*)> <!ELEMENT version-controlled-binding (binding-name, version-history)> <!ELEMENT binding-name (#PCDATA)> PCDATA value: URL segment <!ELEMENT version-history (href)>
VersionControlledResource.ECLIPSED_SET
Method Detail |
---|
void label(LabelInfo labelInfo) throws DavException
LabelInfo
object.
labelInfo
-
DavException
LabelInfo
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 |