org.apache.jackrabbit.spi.commons.batch
Class Operations.Move
java.lang.Object
org.apache.jackrabbit.spi.commons.batch.Operations.Move
- All Implemented Interfaces:
- Operation
- Direct Known Subclasses:
- ConsolidatingChangeLog.CancelableOperations.Move
- Enclosing class:
- Operations
public static class Operations.Move
- extends Object
- implements Operation
Representative of a move Operation which calls
Batch.move(NodeId, NodeId, Name) when applied to a Batch.
|
Field Summary |
protected org.apache.jackrabbit.spi.Name |
destName
|
protected org.apache.jackrabbit.spi.NodeId |
destParentNodeId
|
protected org.apache.jackrabbit.spi.NodeId |
srcNodeId
|
|
Constructor Summary |
Operations.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. |
srcNodeId
protected final org.apache.jackrabbit.spi.NodeId srcNodeId
destParentNodeId
protected final org.apache.jackrabbit.spi.NodeId destParentNodeId
destName
protected final org.apache.jackrabbit.spi.Name destName
Operations.Move
public Operations.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.
- Parameters:
srcNodeId - destParentNodeId - destName - - See Also:
Batch.move(NodeId, NodeId, Name)
apply
public void apply(org.apache.jackrabbit.spi.Batch batch)
throws RepositoryException
- Apply this operation to the given
Batch
- Specified by:
apply in interface Operation
- Throws:
RepositoryException
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
equals
public boolean equals(Operations.Move other)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.