public static class ConsolidatingChangeLog.CancelableOperations.AddProperty extends Operations.AddProperty implements ConsolidatingChangeLog.CancelableOperation
isMultivalued, parentId, propertyName, valuesCANCEL_BOTH, CANCEL_NONE, CANCEL_OTHER, CANCEL_THIS| Constructor and Description |
|---|
AddProperty(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName,
org.apache.jackrabbit.spi.QValue value) |
AddProperty(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName,
org.apache.jackrabbit.spi.QValue[] values) |
| Modifier and Type | Method and Description |
|---|---|
int |
cancel(ConsolidatingChangeLog.CancelableOperation other)
Determines the cancellation behavior of the
other operation
on this operation. |
apply, equals, equals, hashCode, toStringpublic AddProperty(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName,
org.apache.jackrabbit.spi.QValue value)
public AddProperty(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName,
org.apache.jackrabbit.spi.QValue[] values)
public int cancel(ConsolidatingChangeLog.CancelableOperation other) throws RepositoryException
ConsolidatingChangeLog.CancelableOperationother operation
on this operation.cancel in interface ConsolidatingChangeLog.CancelableOperationCANCEL_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.RepositoryExceptionCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.