public static class Operations.ReorderNodes extends java.lang.Object implements Operation
Operation
which calls
Batch.reorderNodes(NodeId, NodeId, NodeId)
when applied to a Batch
.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(java.lang.Object other) |
boolean |
equals(Operations.ReorderNodes other) |
int |
hashCode() |
java.lang.String |
toString() |
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 java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public boolean equals(Operations.ReorderNodes other)
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved