public static class ConsolidatingChangeLog.CancelableOperations.ReorderNodes extends Operations.ReorderNodes implements ConsolidatingChangeLog.CancelableOperation
beforeNodeId, parentId, srcNodeIdCANCEL_BOTH, CANCEL_NONE, CANCEL_OTHER, CANCEL_THIS| Constructor and Description |
|---|
ReorderNodes(NodeId parentId,
NodeId srcNodeId,
NodeId beforeNodeId) |
| 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 int cancel(ConsolidatingChangeLog.CancelableOperation other) throws RepositoryException
ConsolidatingChangeLog.CancelableOperationother operation
on this operation.cancel in interface ConsolidatingChangeLog.CancelableOperationCANCEL_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
ReorderNodes which
has this node as target and neither srcNodeId nor beforeNodeId
has same name siblings.CANCEL_NONE otherwise.RepositoryExceptionCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.