public interface CopyMoveHandler
CopyMoveHandler
...Modifier and Type | Method and Description |
---|---|
boolean |
canCopy(CopyMoveContext context,
org.apache.jackrabbit.webdav.DavResource source,
org.apache.jackrabbit.webdav.DavResource destination)
Validates if this handler is able to execute a copy with the given
parameters.
|
boolean |
canMove(CopyMoveContext context,
org.apache.jackrabbit.webdav.DavResource source,
org.apache.jackrabbit.webdav.DavResource destination)
Validates if this handler is able to execute a move with the given
parameters.
|
boolean |
copy(CopyMoveContext context,
org.apache.jackrabbit.webdav.DavResource source,
org.apache.jackrabbit.webdav.DavResource destination)
Executes the copy with the given parameters.
|
boolean |
move(CopyMoveContext context,
org.apache.jackrabbit.webdav.DavResource source,
org.apache.jackrabbit.webdav.DavResource destination)
Executes the move with the given parameters.
|
boolean canCopy(CopyMoveContext context, org.apache.jackrabbit.webdav.DavResource source, org.apache.jackrabbit.webdav.DavResource destination)
context
- The context of the copy.source
- The source of the copy.destination
- The destination of the copy.boolean copy(CopyMoveContext context, org.apache.jackrabbit.webdav.DavResource source, org.apache.jackrabbit.webdav.DavResource destination) throws org.apache.jackrabbit.webdav.DavException
context
- The context of the copy.source
- The source of the copy.destination
- The destination of the copy.org.apache.jackrabbit.webdav.DavException
- If an error occurs.boolean canMove(CopyMoveContext context, org.apache.jackrabbit.webdav.DavResource source, org.apache.jackrabbit.webdav.DavResource destination)
context
- The context of the move.source
- The source of the move.destination
- The destination of the move.boolean move(CopyMoveContext context, org.apache.jackrabbit.webdav.DavResource source, org.apache.jackrabbit.webdav.DavResource destination) throws org.apache.jackrabbit.webdav.DavException
context
- The context of the move.source
- The source of the move.destination
- The destination of the move.org.apache.jackrabbit.webdav.DavException
- If an error occurs.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.