Interface DeltaVResource

All Superinterfaces:
DavResource
All Known Subinterfaces:
ActivityResource, BaselineResource, VersionableResource, VersionControlledResource, VersionHistoryResource, VersionResource, WorkspaceResource

public interface DeltaVResource extends DavResource
The DeltaVResource encapsulates the functionality common to all DeltaV compliant resources.

RFC 3253 defines the following required properties:

In addition a DeltaV compliant resource must support the following METHODS:

  • REPORT
  • all METHODS defined in WebDAV [RFC2518]
  • all METHODS defined in HTTP/1.1 [RFC2616].
See Also:
  • Field Details

  • Method Details

    • getOptionResponse

      OptionsResponse getOptionResponse(OptionsInfo optionsInfo)
      Retrieves the information requested in the OPTIONS request body and returns the corresponding values.
      Parameters:
      optionsInfo -
      Returns:
      object to be included to the OPTIONS response body or null if the specified optionsInfo was null or empty.
    • getReport

      Report getReport(ReportInfo reportInfo) throws DavException
      Runs the report specified by the given ReportInfo.
      Parameters:
      reportInfo -
      Returns:
      the requested report.
      Throws:
      DavException - in case an error occurred or if the specified ReportInfo is either not valid or cannot be run by the given resource.
    • addWorkspace

      void addWorkspace(DavResource workspace) throws DavException
      Add a new member to this resource, that represents a workspace.
      Please note that no resource must exist at the location of the new workspace.
      Parameters:
      workspace - resource representing the new workspace to be created as member of this resource.
      Throws:
      DavException - if creating the new workspace fails.
    • getReferenceResources

      DavResource[] getReferenceResources(DavPropertyName hrefPropertyName) throws DavException
      Returns an array of DavResource objects that are referenced by the HrefProperty with the specified name.
      Parameters:
      hrefPropertyName -
      Returns:
      An array of DavResources
      Throws:
      DavException - if the given hrefPropertyName does point to an unknown property or does not represent the name of a href property. Finally the exception may be caused if the property contains the href of a non-existing resource, which cannot be resolved.
      See Also: