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
Batch
apply
in interface Operation
RepositoryException
public boolean equals(Operations.Move other)
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.