public interface DeleteManager
DeleteHandler
within it. Implementers of this interface
must invoke the registered delete handlers appropriately when a DELETE operation is to be performedModifier and Type | Method and Description |
---|---|
void |
addDeleteHandler(DeleteHandler deleteHandler)
Registers a delete handler
|
boolean |
delete(DeleteContext deleteContext,
DavResource resource)
Delegates the delete operation to the fist handler that accepts it.
|
DeleteHandler[] |
getDeleteHandlers()
Returns the registered delete handlers
|
boolean delete(DeleteContext deleteContext, DavResource resource) throws DavException
deleteContext
- The context associated with the DELETE operationresource
- The resource to be deletedtrue
if this instance successfully executed the delete operation with the given parameters;
false
otherwise.DavException
- If an error occurs.void addDeleteHandler(DeleteHandler deleteHandler)
deleteHandler
- Registers a delete handler with this delete managerDeleteHandler[] getDeleteHandlers()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.