Class ConsolidatingChangeLog.CancelableOperations.AddNode
- java.lang.Object
- 
- org.apache.jackrabbit.spi.commons.batch.Operations.AddNode
- 
- org.apache.jackrabbit.spi.commons.batch.ConsolidatingChangeLog.CancelableOperations.AddNode
 
 
- 
- All Implemented Interfaces:
- ConsolidatingChangeLog.CancelableOperation,- Operation
 - Enclosing class:
- ConsolidatingChangeLog.CancelableOperations
 
 public static class ConsolidatingChangeLog.CancelableOperations.AddNode extends Operations.AddNode implements ConsolidatingChangeLog.CancelableOperation AnAddNodeoperation is is cancelled by aRemoveoperation higher up the tree. The remove operation is also cancelled if it is targeted at the same node than this add operation.
- 
- 
Field Summary- 
Fields inherited from class org.apache.jackrabbit.spi.commons.batch.Operations.AddNodenodeName, nodetypeName, parentId, uuid
 - 
Fields inherited from interface org.apache.jackrabbit.spi.commons.batch.ConsolidatingChangeLog.CancelableOperationCANCEL_BOTH, CANCEL_NONE, CANCEL_OTHER, CANCEL_THIS
 
- 
 - 
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.AddNodeapply, 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_BOTHif- otheris an instance of- Removeand has this node as target.
- CANCEL_THISif- otheris an instance of- Removeand has an node higher up the hierarchy as target.
- CANCEL_NONEotherwise.
 
- Throws:
- RepositoryException
 
 
- 
 
-