Class Operations.Move
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.batch.Operations.Move
-
- All Implemented Interfaces:
Operation
- Direct Known Subclasses:
ConsolidatingChangeLog.CancelableOperations.Move
- Enclosing class:
- Operations
public static class Operations.Move extends Object implements Operation
Representative of a moveOperationwhich callsBatch.move(NodeId, NodeId, Name)when applied to aBatch.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.jackrabbit.spi.NamedestNameprotected org.apache.jackrabbit.spi.NodeIddestParentNodeIdprotected org.apache.jackrabbit.spi.NodeIdsrcNodeId
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(org.apache.jackrabbit.spi.Batch batch)Apply this operation to the givenBatchbooleanequals(Object other)booleanequals(Operations.Move other)inthashCode()StringtoString()
-
-
-
Constructor Detail
-
Move
public Move(org.apache.jackrabbit.spi.NodeId srcNodeId, org.apache.jackrabbit.spi.NodeId destParentNodeId, org.apache.jackrabbit.spi.Name destName)Create a new moveOperationfor the given arguments.- Parameters:
srcNodeId-destParentNodeId-destName-- See Also:
Batch.move(NodeId, NodeId, Name)
-
-
Method Detail
-
apply
public void apply(org.apache.jackrabbit.spi.Batch batch) throws RepositoryExceptionApply this operation to the givenBatch- Specified by:
applyin interfaceOperation- Throws:
RepositoryException
-
equals
public boolean equals(Operations.Move other)
-
-