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 org.apache.jackrabbit.spi.Name |
destName |
protected org.apache.jackrabbit.spi.NodeId |
destParentNodeId |
protected org.apache.jackrabbit.spi.NodeId |
srcNodeId |
| Constructor and Description |
|---|
Move(org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId destParentNodeId,
org.apache.jackrabbit.spi.Name destName)
Create a new move
Operation for the given arguments. |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.apache.jackrabbit.spi.Batch batch)
Apply this operation to the given
Batch |
boolean |
equals(Object other) |
boolean |
equals(Operations.Move other) |
int |
hashCode() |
String |
toString() |
protected final org.apache.jackrabbit.spi.NodeId srcNodeId
protected final org.apache.jackrabbit.spi.NodeId destParentNodeId
protected final org.apache.jackrabbit.spi.Name destName
public Move(org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId destParentNodeId,
org.apache.jackrabbit.spi.Name destName)
Operation for the given arguments.srcNodeId - destParentNodeId - destName - Batch.move(NodeId, NodeId, Name)public void apply(org.apache.jackrabbit.spi.Batch batch)
throws RepositoryException
Batchapply in interface OperationRepositoryExceptionpublic boolean equals(Operations.Move other)
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.