Interface VersionHistoryResource

  • All Superinterfaces:
    DavResource, DeltaVResource

    public interface VersionHistoryResource
    extends DeltaVResource
    VersionHistoryResource represents a collection that has all versions of a given version-controlled resource as members.

    RFC 3253 defines the following required properties for a version history:

    • DAV:version-set
    • DAV:root-version
    • all DeltaV-compliant resource properties.

    In addition a version history resource must support the following METHODS:

    • all DeltaV-compliant resource METHODS.
    NOTE: the DAV:resourcetype property must indicate 'DAV:version-history'.
    See Also:
    DeltaVResource, ResourceType.VERSION_HISTORY
    • Field Detail

      • ROOT_VERSION

        static final DavPropertyName ROOT_VERSION
        Computed (protected) property identifying the root version of this version history.
      • VERSION_SET

        static final DavPropertyName VERSION_SET
        The protected property DAV:version-set identifies each version of this version history.
        See Also:
        getVersions()
    • Method Detail

      • getVersions

        VersionResource[] getVersions()
                               throws DavException
        Returns an array of VersionResources containing all versions that are a member of this resource.
        Returns:
        all VersionResources that belong to this version history.
        Throws:
        DavException
        See Also:
        VERSION_SET