Class Copy
- java.lang.Object
-
- org.apache.jackrabbit.jcr2spi.operation.AbstractOperation
-
- org.apache.jackrabbit.jcr2spi.operation.AbstractCopy
-
- org.apache.jackrabbit.jcr2spi.operation.Copy
-
- All Implemented Interfaces:
Operation
public class Copy extends AbstractCopy
Copy
...
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.jcr2spi.operation.AbstractOperation
status
-
Fields inherited from interface org.apache.jackrabbit.jcr2spi.operation.Operation
STATUS_PENDING, STATUS_PERSISTED, STATUS_UNDO
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(OperationVisitor visitor)
Calls the appropriatevisit
method onvisitor
based on the type of this operation.static Operation
create(Path srcPath, Path destPath, String srcWorkspaceName, ManagerProvider srcMgrProvider, ManagerProvider destMgrProvider)
-
Methods inherited from class org.apache.jackrabbit.jcr2spi.operation.AbstractCopy
getDestinationName, getDestinationParentId, getNodeId, getWorkspaceName, persisted
-
Methods inherited from class org.apache.jackrabbit.jcr2spi.operation.AbstractOperation
addAffectedItemState, assertChildNodeEntries, getAffectedItemStates, getName, getNodeState, getStatus, undo
-
-
-
-
Method Detail
-
accept
public void accept(OperationVisitor visitor) throws NoSuchWorkspaceException, LockException, ConstraintViolationException, AccessDeniedException, ItemExistsException, UnsupportedRepositoryOperationException, VersionException, RepositoryException
Description copied from interface:Operation
Calls the appropriatevisit
method onvisitor
based on the type of this operation.
-
create
public static Operation create(Path srcPath, Path destPath, String srcWorkspaceName, ManagerProvider srcMgrProvider, ManagerProvider destMgrProvider) throws RepositoryException, ConstraintViolationException, AccessDeniedException, ItemExistsException, VersionException
-
-