public interface CopyMoveManager
CopyMoveManager
...Modifier and Type | Method and Description |
---|---|
void |
addCopyMoveHandler(CopyMoveHandler copyMoveHandler)
Adds the specified handler to the list of handlers.
|
boolean |
copy(CopyMoveContext context,
DavResource source,
DavResource destination)
Handles the copy command
|
CopyMoveHandler[] |
getCopyMoveHandlers()
Returns all handlers that have been added to this manager.
|
boolean |
move(CopyMoveContext context,
DavResource source,
DavResource destination)
Handles the move command
|
boolean copy(CopyMoveContext context, DavResource source, DavResource destination) throws DavException
context
- The context used for this copy operation.source
- The source of the copy.destination
- The destination of the copy.DavException
- If an error occurs.boolean move(CopyMoveContext context, DavResource source, DavResource destination) throws DavException
context
- The context used for this move operation.source
- The source of the move.destination
- The destination of the move.DavException
- If an error occurs.void addCopyMoveHandler(CopyMoveHandler copyMoveHandler)
copyMoveHandler
- handler to be addedCopyMoveHandler[] getCopyMoveHandlers()
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.