Interface BindableResource


public interface BindableResource
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bind(DavResource collection, DavResource newBinding)
    Will add a new binding to the given collection referencing this resource.
    Will retrieve a collection of parent elements of the bindable resource representing the parent set.
    void
    rebind(DavResource collection, DavResource newBinding)
    Will rebind the resource to the given collection.
  • Method Details

    • 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