Class Clone
- java.lang.Object
-
- org.apache.jackrabbit.jcr2spi.operation.AbstractOperation
-
- org.apache.jackrabbit.jcr2spi.operation.AbstractCopy
-
- org.apache.jackrabbit.jcr2spi.operation.Clone
-
- All Implemented Interfaces:
Operation
public class Clone extends AbstractCopy
Clone
...
-
-
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, boolean removeExisting, ManagerProvider srcMgrProvider, ManagerProvider destMgrProvider)
boolean
isRemoveExisting()
void
persisted()
Invalidate the destination parentNodeState
.-
Methods inherited from class org.apache.jackrabbit.jcr2spi.operation.AbstractCopy
getDestinationName, getDestinationParentId, getNodeId, getWorkspaceName
-
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.
-
persisted
public void persisted()
Description copied from class:AbstractCopy
Invalidate the destination parentNodeState
.- Specified by:
persisted
in interfaceOperation
- Overrides:
persisted
in classAbstractCopy
- See Also:
Operation.persisted()
-
isRemoveExisting
public boolean isRemoveExisting()
-
create
public static Operation create(Path srcPath, Path destPath, String srcWorkspaceName, boolean removeExisting, ManagerProvider srcMgrProvider, ManagerProvider destMgrProvider) throws RepositoryException, ConstraintViolationException, AccessDeniedException, ItemExistsException, VersionException
-
-