Interface VersionableResource

    • Method Detail

      • addVersionControl

        void addVersionControl()
                        throws DavException
        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.
        Throws:
        DavException