public class DeleteManagerImpl extends Object implements DeleteManager
| Constructor and Description |
|---|
DeleteManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDeleteHandler(DeleteHandler deleteHandler)
Registers a delete handler
|
boolean |
delete(DeleteContext deleteContext,
DavResource member)
Delegates the delete operation to the fist handler that accepts it.
|
static DeleteManager |
getDefaultManager()
Returns this delete manager singleton
|
DeleteHandler[] |
getDeleteHandlers()
Returns the registered delete handlers
|
public boolean delete(DeleteContext deleteContext, DavResource member) throws DavException
DeleteManagerdelete in interface DeleteManagerdeleteContext - The context associated with the DELETE operationmember - The resource to be deletedtrue if this instance successfully executed the delete operation with the given parameters;
false otherwise.DavException - If an error occurs.DeleteManager.delete(DeleteContext, DavResource)public void addDeleteHandler(DeleteHandler deleteHandler)
DeleteManageraddDeleteHandler in interface DeleteManagerdeleteHandler - Registers a delete handler with this delete managerDeleteManager.addDeleteHandler(DeleteHandler)public DeleteHandler[] getDeleteHandlers()
DeleteManagergetDeleteHandlers in interface DeleteManagerDeleteManager.getDeleteHandlers()public static DeleteManager getDefaultManager()
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.