Interface BindableResource
public interface BindableResource
-
Method Summary
Modifier and TypeMethodDescriptionvoidbind(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.voidrebind(DavResource collection, DavResource newBinding) Will rebind the resource to the given collection.
-
Method Details
-
bind
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
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
-