Class ConsolidatingChangeLog.CancelableOperations.ReorderNodes
- java.lang.Object
- 
- org.apache.jackrabbit.spi.commons.batch.Operations.ReorderNodes
- 
- org.apache.jackrabbit.spi.commons.batch.ConsolidatingChangeLog.CancelableOperations.ReorderNodes
 
 
- 
- All Implemented Interfaces:
- ConsolidatingChangeLog.CancelableOperation,- Operation
 - Enclosing class:
- ConsolidatingChangeLog.CancelableOperations
 
 public static class ConsolidatingChangeLog.CancelableOperations.ReorderNodes extends Operations.ReorderNodes implements ConsolidatingChangeLog.CancelableOperation 
- 
- 
Field Summary- 
Fields inherited from class org.apache.jackrabbit.spi.commons.batch.Operations.ReorderNodesbeforeNodeId, parentId, srcNodeId
 - 
Fields inherited from interface org.apache.jackrabbit.spi.commons.batch.ConsolidatingChangeLog.CancelableOperationCANCEL_BOTH, CANCEL_NONE, CANCEL_OTHER, CANCEL_THIS
 
- 
 - 
Constructor SummaryConstructors Constructor Description ReorderNodes(NodeId parentId, NodeId srcNodeId, NodeId beforeNodeId)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcancel(ConsolidatingChangeLog.CancelableOperation other)Determines the cancellation behavior of theotheroperation on this operation.- 
Methods inherited from class org.apache.jackrabbit.spi.commons.batch.Operations.ReorderNodesapply, equals, equals, hashCode, toString
 
- 
 
- 
- 
- 
Method Detail- 
cancelpublic int cancel(ConsolidatingChangeLog.CancelableOperation other) throws RepositoryException Description copied from interface:ConsolidatingChangeLog.CancelableOperationDetermines the cancellation behavior of theotheroperation on this operation.- Specified by:
- cancelin interface- ConsolidatingChangeLog.CancelableOperation
- Returns:
- CANCEL_THISif- otheris an instance of- Removeand has an node higher up the hierarchy or this node as target. Or if- otheris an instance of- ReorderNodeswhich has this node as target and neither- srcNodeIdnor- beforeNodeIdhas same name siblings.
- CANCEL_NONEotherwise.
 
- Throws:
- RepositoryException
 
 
- 
 
-