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 moveOperation
which callsBatch.move(NodeId, NodeId, Name)
when applied to aBatch
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Batch batch)
Apply this operation to the givenBatch
boolean
equals(Object other)
boolean
equals(Operations.Move other)
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
Move
public Move(NodeId srcNodeId, NodeId destParentNodeId, Name destName)
Create a new moveOperation
for the given arguments.- Parameters:
srcNodeId
-destParentNodeId
-destName
-- See Also:
Batch.move(NodeId, NodeId, Name)
-
-
Method Detail
-
apply
public void apply(Batch batch) throws RepositoryException
Apply this operation to the givenBatch
- Specified by:
apply
in interfaceOperation
- Throws:
RepositoryException
-
equals
public boolean equals(Operations.Move other)
-
-