Class VersionResourceImpl

All Implemented Interfaces:
Serializable, org.apache.jackrabbit.webdav.DavResource, org.apache.jackrabbit.webdav.version.DeltaVResource, org.apache.jackrabbit.webdav.version.VersionResource

public class VersionResourceImpl extends DeltaVResourceImpl implements org.apache.jackrabbit.webdav.version.VersionResource
For more informations, please visit VersionResourceImpl
Author:
wenzkseb
See Also:
  • Constructor Details

    • VersionResourceImpl

      public VersionResourceImpl(org.apache.jackrabbit.webdav.DavResourceLocator locator, DavResourceFactory factory, WebdavSession session, ResourceConfig config, Resource item) throws org.apache.jackrabbit.webdav.DavException
      Throws:
      org.apache.jackrabbit.webdav.DavException
  • Method Details

    • getMembers

      public org.apache.jackrabbit.webdav.DavResourceIterator getMembers()
      Specified by:
      getMembers in interface org.apache.jackrabbit.webdav.DavResource
      Overrides:
      getMembers in class DavResourceImpl
      Returns:
      an iterator
      See Also:
      • DavResource.getMembers()
    • addMember

      public void addMember(org.apache.jackrabbit.webdav.DavResource member, org.apache.jackrabbit.webdav.io.InputContext inputContext) throws org.apache.jackrabbit.webdav.DavException
      Description copied from class: DavResourceImpl
      Adds a new member to this resource.
      Specified by:
      addMember in interface org.apache.jackrabbit.webdav.DavResource
      Overrides:
      addMember in class DavResourceImpl
      Throws:
      org.apache.jackrabbit.webdav.DavException
      See Also:
      • DavResource.addMember(DavResource, org.apache.jackrabbit.webdav.io.InputContext)
    • removeMember

      public void removeMember(org.apache.jackrabbit.webdav.DavResource member) throws org.apache.jackrabbit.webdav.DavException
      Specified by:
      removeMember in interface org.apache.jackrabbit.webdav.DavResource
      Overrides:
      removeMember in class DavResourceImpl
      Throws:
      org.apache.jackrabbit.webdav.DavException
    • setProperty

      public void setProperty(org.apache.jackrabbit.webdav.property.DavProperty<?> property) throws org.apache.jackrabbit.webdav.DavException
      Specified by:
      setProperty in interface org.apache.jackrabbit.webdav.DavResource
      Overrides:
      setProperty in class DavResourceImpl
      Throws:
      org.apache.jackrabbit.webdav.DavException
    • removeProperty

      public void removeProperty(org.apache.jackrabbit.webdav.property.DavPropertyName propertyName) throws org.apache.jackrabbit.webdav.DavException
      Specified by:
      removeProperty in interface org.apache.jackrabbit.webdav.DavResource
      Overrides:
      removeProperty in class DavResourceImpl
      Throws:
      org.apache.jackrabbit.webdav.DavException
    • alterProperties

      public org.apache.jackrabbit.webdav.MultiStatusResponse alterProperties(org.apache.jackrabbit.webdav.property.DavPropertySet setProperties, org.apache.jackrabbit.webdav.property.DavPropertyNameSet removePropertyNames) throws org.apache.jackrabbit.webdav.DavException
      Overrides:
      alterProperties in class DavResourceImpl
      Parameters:
      setProperties - DAV properties
      removePropertyNames - DAV properties names
      Returns:
      the status
      Throws:
      org.apache.jackrabbit.webdav.DavException - error in the DAV communication
      See Also:
      • DavResource.alterProperties(List)
    • alterProperties

      public org.apache.jackrabbit.webdav.MultiStatusResponse alterProperties(List changeList) throws org.apache.jackrabbit.webdav.DavException
      Specified by:
      alterProperties in interface org.apache.jackrabbit.webdav.DavResource
      Overrides:
      alterProperties in class DavResourceImpl
      Throws:
      org.apache.jackrabbit.webdav.DavException
    • label

      public void label(org.apache.jackrabbit.webdav.version.LabelInfo labelInfo) throws org.apache.jackrabbit.webdav.DavException
      Specified by:
      label in interface org.apache.jackrabbit.webdav.version.VersionResource
      Throws:
      org.apache.jackrabbit.webdav.DavException
    • getVersionHistory

      public org.apache.jackrabbit.webdav.version.VersionHistoryResource getVersionHistory() throws org.apache.jackrabbit.webdav.DavException
      Specified by:
      getVersionHistory in interface org.apache.jackrabbit.webdav.version.VersionResource
      Throws:
      org.apache.jackrabbit.webdav.DavException
    • getSupportedMethods

      public String getSupportedMethods()
      Specified by:
      getSupportedMethods in interface org.apache.jackrabbit.webdav.DavResource
      Overrides:
      getSupportedMethods in class DavResourceImpl
      Returns:
      DavResource#METHODS
      See Also:
      • DavResource.getSupportedMethods()