Class Operations.Move
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.batch.Operations.Move
-
- All Implemented Interfaces:
Operation
- Enclosing class:
- Operations
public static class Operations.Move extends java.lang.Object implements Operation
Representative of a moveOperationwhich callsBatch.move(NodeId, NodeId, Name)when applied to aBatch.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Batch batch)Apply this operation to the givenBatchbooleanequals(java.lang.Object other)booleanequals(Operations.Move other)inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
Move
public Move(NodeId srcNodeId, NodeId destParentNodeId, 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(Batch batch) throws RepositoryException
Apply this operation to the givenBatch- Specified by:
applyin interfaceOperation- Throws:
RepositoryException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
equals
public boolean equals(Operations.Move other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-