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 voidaccept(OperationVisitor visitor)Calls the appropriatevisitmethod onvisitorbased on the type of this operation.static Operationcreate(Path srcPath, Path destPath, String srcWorkspaceName, boolean removeExisting, ManagerProvider srcMgrProvider, ManagerProvider destMgrProvider)booleanisRemoveExisting()voidpersisted()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:OperationCalls the appropriatevisitmethod onvisitorbased on the type of this operation.
-
persisted
public void persisted()
Description copied from class:AbstractCopyInvalidate the destination parentNodeState.- Specified by:
persistedin interfaceOperation- Overrides:
persistedin 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
-
-