public interface VersionableResource extends DeltaVResource
VersionableResource
represents an extension to the basic
DeltaVResource
, that allows to adding version-control support. By
calling addVersionControl()
resource is put under version control,
thus the versionable resource turns into a version controlled resource.
RFC 3253 defines the following required properties for a versionable resource:
DAV:workspace
(workspace feature)In addition a versionable resource must support the following METHODS:
DeltaVResource
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
METHODS
The versionable resource defines one additional method VERSION-CONTROL.
|
METHODS_INCL_MKWORKSPACE
Modifier and Type | Method and Description |
---|---|
void |
addVersionControl()
Converts this versionable resource into a version-controlled 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 java.lang.String METHODS
void addVersionControl() throws DavException
DavException
(error code: org.apache.jackrabbit.webdav.DavServletResponse#SC_METHOD_NOT_ALLOWED
is thrown. The same applies, if this resource is versionable but its
current state does not allow to made it a version-controlled one or
if any other error occurs.DavException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"