Package | Description |
---|---|
org.apache.jackrabbit.spi.commons.batch |
Modifier and Type | Method and Description |
---|---|
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.addNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid)
Factory method for creating an
AddNode operation. |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.addProperty(NodeId parentId,
Name propertyName,
QValue value)
Factory method for creating an
AddProperty operation. |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.addProperty(NodeId parentId,
Name propertyName,
QValue[] values)
Factory method for creating an
AddProperty operation. |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.empty()
Factory method for creating an
Empty operation. |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.move(NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Factory method for creating a
Move operation. |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.remove(ItemId itemId)
Factory method for creating a
Remove operation. |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.reorderNodes(NodeId parentId,
NodeId srcNodeId,
NodeId beforeNodeId)
Factory method for creating a
ReorderNodes operation. |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.setMixins(NodeId nodeId,
Name[] mixinNodeTypeNames)
Factory method for creating a
ConsolidatingChangeLog.CancelableOperations.SetMixins operation. |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.setPrimaryType(NodeId nodeId,
Name primaryTypeName)
Factory method for creating a
ConsolidatingChangeLog.CancelableOperations.SetPrimaryType operation. |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.setTree(NodeId parentId,
Tree tree)
Factory method for creating an
ConsolidatingChangeLog.CancelableOperations.SetTree operation. |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.setValue(PropertyId propertyId,
QValue value)
Factory method for creating a
SetValue operation. |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.setValue(PropertyId propertyId,
QValue[] values)
Factory method for creating a
SetValue operation. |
Modifier and Type | Method and Description |
---|---|
void |
ConsolidatingChangeLog.addOperation(ConsolidatingChangeLog.CancelableOperation op)
Determines the cancellation behavior from the list of
operations
and the current operation op :
When the current operation is cancelled by the last operation, the list of operations
is not modified.
When the current operation and the last operation cancel each other, the last operation is
removed from the list of operations.
When the last operation is cancelled by this operation, the last operation is removed from
the list of operations and determination of cancellation starts from scratch.
Otherwise add the current operation to the list of operations.
|
int |
ConsolidatingChangeLog.CancelableOperation.cancel(ConsolidatingChangeLog.CancelableOperation other)
Determines the cancellation behavior of the
other operation
on this operation. |
int |
ConsolidatingChangeLog.CancelableOperations.Empty.cancel(ConsolidatingChangeLog.CancelableOperation other) |
int |
ConsolidatingChangeLog.CancelableOperations.AddNode.cancel(ConsolidatingChangeLog.CancelableOperation other) |
int |
ConsolidatingChangeLog.CancelableOperations.AddProperty.cancel(ConsolidatingChangeLog.CancelableOperation other) |
int |
ConsolidatingChangeLog.CancelableOperations.Move.cancel(ConsolidatingChangeLog.CancelableOperation other) |
int |
ConsolidatingChangeLog.CancelableOperations.Remove.cancel(ConsolidatingChangeLog.CancelableOperation other) |
int |
ConsolidatingChangeLog.CancelableOperations.ReorderNodes.cancel(ConsolidatingChangeLog.CancelableOperation other) |
int |
ConsolidatingChangeLog.CancelableOperations.SetMixins.cancel(ConsolidatingChangeLog.CancelableOperation other) |
int |
ConsolidatingChangeLog.CancelableOperations.SetPrimaryType.cancel(ConsolidatingChangeLog.CancelableOperation other) |
int |
ConsolidatingChangeLog.CancelableOperations.SetValue.cancel(ConsolidatingChangeLog.CancelableOperation other) |
int |
ConsolidatingChangeLog.CancelableOperations.SetTree.cancel(ConsolidatingChangeLog.CancelableOperation other)
The cancellation only considers canceling the parent node, which corresponds
to the policy node.
|
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.