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
DeleteManager
delete
in interface DeleteManager
deleteContext
- 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)
DeleteManager
addDeleteHandler
in interface DeleteManager
deleteHandler
- Registers a delete handler with this delete managerDeleteManager.addDeleteHandler(DeleteHandler)
public DeleteHandler[] getDeleteHandlers()
DeleteManager
getDeleteHandlers
in interface DeleteManager
DeleteManager.getDeleteHandlers()
public static DeleteManager getDefaultManager()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.