public static class Operations.ReorderNodes extends Object implements Operation
Operation
which calls
Batch.reorderNodes(NodeId, NodeId, NodeId)
when applied to a Batch
.Modifier and Type | Field and Description |
---|---|
protected NodeId |
beforeNodeId |
protected NodeId |
parentId |
protected NodeId |
srcNodeId |
Constructor and Description |
---|
ReorderNodes(NodeId parentId,
NodeId srcNodeId,
NodeId beforeNodeId)
Create a new reorder-nodes
Operation for the given arguments. |
Modifier and Type | Method and Description |
---|---|
void |
apply(Batch batch)
Apply this operation to the given
Batch |
boolean |
equals(Object other) |
boolean |
equals(Operations.ReorderNodes other) |
int |
hashCode() |
String |
toString() |
protected final NodeId parentId
protected final NodeId srcNodeId
protected final NodeId beforeNodeId
public ReorderNodes(NodeId parentId, NodeId srcNodeId, NodeId beforeNodeId)
Operation
for the given arguments.parentId
- srcNodeId
- beforeNodeId
- Batch.reorderNodes(NodeId, NodeId, NodeId)
public void apply(Batch batch) throws RepositoryException
Batch
apply
in interface Operation
RepositoryException
public boolean equals(Operations.ReorderNodes other)
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.