public static class ConsolidatingChangeLog.CancelableOperations.AddProperty extends Operations.AddProperty implements ConsolidatingChangeLog.CancelableOperation
isMultivalued, parentId, propertyName, values
CANCEL_BOTH, CANCEL_NONE, CANCEL_OTHER, CANCEL_THIS
Constructor and Description |
---|
ConsolidatingChangeLog.CancelableOperations.AddProperty(NodeId parentId,
Name propertyName,
QValue value) |
ConsolidatingChangeLog.CancelableOperations.AddProperty(NodeId parentId,
Name propertyName,
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, toString
public ConsolidatingChangeLog.CancelableOperations.AddProperty(NodeId parentId, Name propertyName, QValue value)
public int cancel(ConsolidatingChangeLog.CancelableOperation other) throws javax.jcr.RepositoryException
ConsolidatingChangeLog.CancelableOperation
other
operation
on this operation.cancel
in interface ConsolidatingChangeLog.CancelableOperation
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.javax.jcr.RepositoryException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.