org.apache.jackrabbit.spi.commons.batch
Class ConsolidatingChangeLog.CancelableOperations.SetValue
java.lang.Object
org.apache.jackrabbit.spi.commons.batch.Operations.SetValue
org.apache.jackrabbit.spi.commons.batch.ConsolidatingChangeLog.CancelableOperations.SetValue
- All Implemented Interfaces:
- ConsolidatingChangeLog.CancelableOperation, Operation
- Enclosing class:
- ConsolidatingChangeLog.CancelableOperations
public static class ConsolidatingChangeLog.CancelableOperations.SetValue
- extends Operations.SetValue
- implements ConsolidatingChangeLog.CancelableOperation
A SetValue
operation might cancel with
Remove
and
SetValue
operations.
Methods inherited from interface org.apache.jackrabbit.spi.commons.batch.Operation |
apply |
ConsolidatingChangeLog.CancelableOperations.SetValue
public ConsolidatingChangeLog.CancelableOperations.SetValue(PropertyId propertyId,
QValue value)
ConsolidatingChangeLog.CancelableOperations.SetValue
public ConsolidatingChangeLog.CancelableOperations.SetValue(PropertyId propertyId,
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_THIS
if
other
is an instance of
Remove
and has an node higher up
the hierarchy or this node as target. Or if other
is an instance of
SetValue
which has this
property as target
CANCEL_NONE
otherwise.
- Throws:
RepositoryException
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.