Interface DeltaVResource

    • Field Detail

      • METHODS_INCL_MKWORKSPACE

        static final java.lang.String METHODS_INCL_MKWORKSPACE
        If the server support the Workspace featured defined by RFC 3253 certain DeltaVResources may also support the MKWORKSPACE method.
        See Also:
        addWorkspace(DavResource), Constant Field Values
    • Method Detail

      • 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:
        HrefProperty