org.apache.jackrabbit.spi.commons.batch
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
An AddNode
operation is is cancelled by a
Remove
operation higher up the tree.
The remove operation is also cancelled if it is targeted at the same node than this add
operation.
Methods inherited from interface org.apache.jackrabbit.spi.commons.batch.Operation |
apply |
ConsolidatingChangeLog.CancelableOperations.AddNode
public ConsolidatingChangeLog.CancelableOperations.AddNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid)
cancel
public int cancel(ConsolidatingChangeLog.CancelableOperation other)
throws RepositoryException
- Description copied from interface:
ConsolidatingChangeLog.CancelableOperation
- Determines the cancellation behavior of the
other
operation
on this operation.
- Specified by:
cancel
in interface ConsolidatingChangeLog.CancelableOperation
- Returns:
-
- Throws:
RepositoryException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.