|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The VersionControlledResource
represents in contrast to the
VersionableResource
a resource, that has already been put
under version-control. This resource can be checked-in, checked-out and
has its on version history
.
DeltaVResource
,
VersionableResource
Field Summary | |
static DavPropertyName |
AUTO_MERGE_SET
The DAV:auto-merge-set property identifies each version that the server has merged into this checked-out resource. |
static DavPropertyName |
AUTO_VERSION
The DAV:auto-version property determines how it responds to a method that attempts to modify its content or dead properties. |
static DavPropertyName |
CHECKED_IN
The DAV:checked-in property appears on a checked-in version-controlled resource, and identifies the base version of this version-controlled resource. |
static DavPropertyName |
CHECKED_OUT
The DAV:checked-out property identifies the base version of this resource. |
static DavPropertyName |
CHECKIN_FORK
This property determines the DAV:checkin-fork property of the version that results from checking in this resource. |
static DavPropertyName |
CHECKOUT_FORK
This property determines the DAV:checkout-fork property of the version that results from checking in this resource. |
static DavPropertyName |
MERGE_SET
This property identifies each version that is to be merged into this checked-out resource. |
static String |
methods_checkedIn
Methods defined for a checked-in version-controlled resource: CHECKOUT, UNCHECHKOUT, UPDATE, MERGE, LABEL |
static String |
methods_checkedOut
Methods defined for a checked-out version-controlled resource: CHECKIN, MERGE |
static DavPropertyName |
PREDECESSOR_SET
The DAV:predecessor-set property of a version-controlled resource points to those version resources, that are scheduled to become the predecessors of this resource when it is back checked-in. |
static DavPropertyName |
VERSION_HISTORY
The computed property DAV:version-history identifies the version history resource for the DAV:checked-in or DAV:checked-out version of this version-controlled resource. The property is defined to have the following format: |
Fields inherited from interface org.apache.jackrabbit.webdav.version.VersionableResource |
COMPLIANCE_CLASS, METHODS |
Fields inherited from interface org.apache.jackrabbit.webdav.version.DeltaVResource |
METHODS_INCL_MKWORKSPACE |
Method Summary | |
String |
checkin()
Perform a checkin on the version controlled resource. |
void |
checkout()
Perform a checkout on the version controlled resource. |
VersionHistoryResource |
getVersionHistory()
Returns the VersionHistoryResource , that is referenced in the
'version-history ' property. |
void |
label(LabelInfo labelInfo)
Modify the labels of the version referenced by the DAV:checked-in property of this checked-in version-controlled resource. |
MultiStatus |
merge(MergeInfo mergeInfo)
Perform a merge on this resource using the specified MergeInfo . |
void |
uncheckout()
Perform an uncheckout on the version controlled resource. |
MultiStatus |
update(UpdateInfo updateInfo)
Perform an update on this resource using the specified UpdateInfo . |
Methods inherited from interface org.apache.jackrabbit.webdav.version.VersionableResource |
addVersionControl |
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_checkedIn
public static final String methods_checkedOut
public static final DavPropertyName AUTO_VERSION
public static final DavPropertyName VERSION_HISTORY
<!ELEMENT version-history (href)>
public static final DavPropertyName CHECKED_IN
<!ELEMENT checked-in (href)>
public static final DavPropertyName CHECKED_OUT
<!ELEMENT checked-out (href)>
CHECKED_IN
public static final DavPropertyName PREDECESSOR_SET
<!ELEMENT predecessor-set (href+)>
checkin()
,
VersionResource.PREDECESSOR_SET
public static final DavPropertyName CHECKIN_FORK
public static final DavPropertyName CHECKOUT_FORK
public static final DavPropertyName MERGE_SET
<!ELEMENT merge-set (href*)>
merge(MergeInfo)
public static final DavPropertyName AUTO_MERGE_SET
<!ELEMENT auto-merge-set (href*)>
merge(MergeInfo)
Method Detail |
public String checkin() throws DavException
DavException
- if an error occurs.public void checkout() throws DavException
DavException
public void uncheckout() throws DavException
DavException
public MultiStatus update(UpdateInfo updateInfo) throws DavException
UpdateInfo
.
updateInfo
-
MultiStatus
containing the list of resources that
have been modified by this update call.
DavException
public MultiStatus merge(MergeInfo mergeInfo) throws DavException
MergeInfo
.
mergeInfo
-
MultiStatus
containing the list of resources that
have been modified.
DavException
public void label(LabelInfo labelInfo) throws DavException
labelInfo
-
DavException
LabelInfo
,
for the pre- and postcondition of
a successful LABEL request.
public VersionHistoryResource getVersionHistory() throws DavException
VersionHistoryResource
, that is referenced in the
'version-history
' property.
DavException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |