public static class Operations.Move extends Object implements Operation
Operation which calls
Batch.move(NodeId, NodeId, Name) when applied to a Batch.| Modifier and Type | Field and Description |
|---|---|
protected Name |
destName |
protected NodeId |
destParentNodeId |
protected NodeId |
srcNodeId |
| Constructor and Description |
|---|
Move(NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Create a new move
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.Move other) |
int |
hashCode() |
String |
toString() |
protected final NodeId srcNodeId
protected final NodeId destParentNodeId
protected final Name destName
public Move(NodeId srcNodeId, NodeId destParentNodeId, Name destName)
Operation for the given arguments.srcNodeId - destParentNodeId - destName - Batch.move(NodeId, NodeId, Name)public void apply(Batch batch) throws RepositoryException
Batchapply in interface OperationRepositoryExceptionpublic boolean equals(Operations.Move other)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.