org.apache.jackrabbit.spi.commons.batch
Class ConsolidatingChangeLog.CancelableOperations.AddProperty
java.lang.Object
org.apache.jackrabbit.spi.commons.batch.Operations.AddProperty
org.apache.jackrabbit.spi.commons.batch.ConsolidatingChangeLog.CancelableOperations.AddProperty
- All Implemented Interfaces:
- ConsolidatingChangeLog.CancelableOperation, Operation
- Enclosing class:
- ConsolidatingChangeLog.CancelableOperations
public static class ConsolidatingChangeLog.CancelableOperations.AddProperty
- extends Operations.AddProperty
- implements ConsolidatingChangeLog.CancelableOperation
AddProperty
operations might cancel with
Remove
and
SetValue
operations.
Methods inherited from interface org.apache.jackrabbit.spi.commons.batch.Operation |
apply |
ConsolidatingChangeLog.CancelableOperations.AddProperty
public ConsolidatingChangeLog.CancelableOperations.AddProperty(NodeId parentId,
Name propertyName,
QValue value)
ConsolidatingChangeLog.CancelableOperations.AddProperty
public ConsolidatingChangeLog.CancelableOperations.AddProperty(NodeId parentId,
Name propertyName,
QValue[] values)
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:
CANCEL_BOTH
if
other
is an instance of
Remove
and has this property as
target or if other
is an instance of
SetValue
for a value of
null
and has this property as target.
CANCEL_THIS
if
other
is an instance of
Remove
and has a node higher up
the hierarchy as target.
CANCEL_OTHER
if
other
is an instance of
SetValue
and has this
property as target.
CANCEL_NONE
otherwise.
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.