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
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.spi.commons.batch.Operations.AddProperty
isMultivalued, parentId, propertyName, 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 AddProperty(NodeId parentId, Name propertyName, QValue value)AddProperty(NodeId parentId, Name propertyName, QValue[] values)
-
Method Summary
All 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.AddProperty
apply, equals, equals, hashCode, toString
-
-
-
-
Method Detail
-
cancel
public int cancel(ConsolidatingChangeLog.CancelableOperation other) throws RepositoryException
Description copied from interface:ConsolidatingChangeLog.CancelableOperationDetermines the cancellation behavior of theotheroperation on this operation.- Specified by:
cancelin interfaceConsolidatingChangeLog.CancelableOperation- Returns:
CANCEL_BOTHifotheris an instance ofRemoveand has this property as target or ifotheris an instance ofSetValuefor a value ofnulland has this property as target.CANCEL_THISifotheris an instance ofRemoveand has a node higher up the hierarchy as target.CANCEL_OTHERifotheris an instance ofSetValueand has this property as target.CANCEL_NONEotherwise.
- Throws:
RepositoryException
-
-