Class Operations.ReorderNodes
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.batch.Operations.ReorderNodes
-
- All Implemented Interfaces:
Operation
- Direct Known Subclasses:
ConsolidatingChangeLog.CancelableOperations.ReorderNodes
- Enclosing class:
- Operations
public static class Operations.ReorderNodes extends Object implements Operation
Representative of a reorder-nodesOperation
which callsBatch.reorderNodes(NodeId, NodeId, NodeId)
when applied to aBatch
.
-
-
Constructor Summary
Constructors Constructor Description ReorderNodes(NodeId parentId, NodeId srcNodeId, NodeId beforeNodeId)
Create a new reorder-nodesOperation
for the given arguments.
-
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.ReorderNodes other)
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
ReorderNodes
public ReorderNodes(NodeId parentId, NodeId srcNodeId, NodeId beforeNodeId)
Create a new reorder-nodesOperation
for the given arguments.- Parameters:
parentId
-srcNodeId
-beforeNodeId
-- See Also:
Batch.reorderNodes(NodeId, NodeId, NodeId)
-
-
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.ReorderNodes other)
-
-