addVersionControl

Converts this versionable resource into a version-controlled resource. If
this resource is already version-controlled this resource is not affected.
If however, this resource is not versionable an DavException
(error code: HttpServletResponse.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.

initProperties

getComplianceClass

Returns a string listing the compliance classes for this resource as it
is required for the DAV response header. This includes DAV 1, 2 which
is supported by all derived classes as well as a subset of the
classes defined by DeltaV: version-control, version-history, checkout-in-place,
label, merge, update and workspace.
Those compliance classes are added as required by RFC3253 since all
all resources in the jcr-server support at least the reporting and some
basic versioning functionality.

getLock

Return the lock present on this webdav resource or null
if the resource is either not locked or not lockable at all. Note, that
a resource may have a lock that is inherited by a deep lock enforced on
one of its 'parent' resources.