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
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.spi.commons.batch.Operations.SetValue
isMultivalued, propertyId, values
-
Fields inherited from interface org.apache.jackrabbit.spi.commons.batch.ConsolidatingChangeLog.CancelableOperation
CANCEL_BOTH, CANCEL_NONE, CANCEL_OTHER, CANCEL_THIS
-
-
Constructor Summary
Constructors Constructor Description SetValue(PropertyId propertyId, QValue value)
SetValue(PropertyId propertyId, QValue[] values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
cancel(ConsolidatingChangeLog.CancelableOperation other)
Determines the cancellation behavior of theother
operation on this operation.-
Methods inherited from class org.apache.jackrabbit.spi.commons.batch.Operations.SetValue
apply, equals, equals, hashCode, toString
-
-
-
-
Constructor Detail
-
SetValue
public SetValue(PropertyId propertyId, QValue value)
-
SetValue
public SetValue(PropertyId propertyId, QValue[] values)
-
-
Method Detail
-
cancel
public int cancel(ConsolidatingChangeLog.CancelableOperation other) throws RepositoryException
Description copied from interface:ConsolidatingChangeLog.CancelableOperation
Determines the cancellation behavior of theother
operation on this operation.- Specified by:
cancel
in interfaceConsolidatingChangeLog.CancelableOperation
- Returns:
CANCEL_THIS
ifother
is an instance ofRemove
and has an node higher up the hierarchy or this node as target. Or ifother
is an instance ofSetValue
which has this property as targetCANCEL_NONE
otherwise.
- Throws:
RepositoryException
-
-