Interface BindableResource
- 
public interface BindableResource 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbind(DavResource collection, DavResource newBinding)Will add a new binding to the given collection referencing this resource.java.util.Set<ParentElement>getParentElements()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 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
java.util.Set<ParentElement> getParentElements()
Will retrieve a collection of parent elements of the bindable resource representing the parent set.- Returns:
 - newBinding the new binding
 
 
 - 
 
 -