Interface BindableResource

    • Method Detail

      • bind

        void bind​(DavResource collection,
                  DavResource newBinding)
           throws DavException
        Will add a new binding to the given collection referencing this resource.
        Parameters:
        collection - the collection to create the new binding in.
        newBinding - the new binding
        Throws:
        DavException
      • rebind

        void rebind​(DavResource collection,
                    DavResource newBinding)
             throws DavException
        Will rebind the resource to the given collection. By definition, this is an atomic move operation.
        Parameters:
        collection - the collection to create the new binding in.
        newBinding - the new binding
        Throws:
        DavException
      • getParentElements

        Set<ParentElement> getParentElements()
        Will retrieve a collection of parent elements of the bindable resource representing the parent set.
        Returns:
        newBinding the new binding