|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Operation | |
---|---|
org.apache.jackrabbit.spi.commons.batch |
Uses of Operation in org.apache.jackrabbit.spi.commons.batch |
---|
Subinterfaces of Operation in org.apache.jackrabbit.spi.commons.batch | |
---|---|
protected static interface |
ConsolidatingChangeLog.CancelableOperation
This class represent an Operation which can be cancelled by another operation
or which cancels another operation. |
Classes in org.apache.jackrabbit.spi.commons.batch that implement Operation | |
---|---|
static class |
ConsolidatingChangeLog.CancelableOperations.AddNode
An AddNode operation is is cancelled by a
Remove operation higher up the tree. |
static class |
ConsolidatingChangeLog.CancelableOperations.AddProperty
AddProperty operations might cancel with
Remove and
SetValue operations. |
static class |
ConsolidatingChangeLog.CancelableOperations.Empty
An Empty operation never cancels another operation and is never
cancelled by any other operation. |
static class |
ConsolidatingChangeLog.CancelableOperations.Move
An Move operation never cancels another operation and is never
cancelled by any other operation. |
static class |
ConsolidatingChangeLog.CancelableOperations.Remove
An Remove operation never cancels another operation and is never
cancelled by any other operation. |
static class |
ConsolidatingChangeLog.CancelableOperations.ReorderNodes
A ReorderNodes operation might cancel with
Remove and
ReorderNodes operations. |
static class |
ConsolidatingChangeLog.CancelableOperations.SetMixins
A SetMixins operation might cancel with
Remove and
SetMixins operations. |
static class |
ConsolidatingChangeLog.CancelableOperations.SetValue
A SetValue operation might cancel with
Remove and
SetValue operations. |
static class |
Operations.AddNode
Representative of an add-node Operation which calls
Batch.addNode(NodeId, Name, Name, String) when applied to a Batch . |
static class |
Operations.AddProperty
Representative of an add-property Operation which calls
Batch.addProperty(NodeId, Name, QValue) or Batch.addProperty(NodeId, Name, QValue[])
depending on whether the property is multi valued or not when applied to a Batch . |
static class |
Operations.Empty
Representative of the empty Operation which does nothing when
applied to a Batch . |
static class |
Operations.Move
Representative of a move Operation which calls
Batch.move(NodeId, NodeId, Name) when applied to a Batch . |
static class |
Operations.Remove
Representative of a remove Operation which calls Batch.remove(ItemId) when
applied to a Batch . |
static class |
Operations.ReorderNodes
Representative of a reorder-nodes Operation which calls
Batch.reorderNodes(NodeId, NodeId, NodeId) when applied to a Batch . |
static class |
Operations.SetMixins
Representative of a set-mixin Operation which calls
Batch.setMixins(NodeId, Name[]) when applied to a Batch . |
static class |
Operations.SetValue
Representative of a set-value Operation which calls
Batch.setValue(PropertyId, QValue) or Batch.setValue(PropertyId, QValue[])
depending on whether the property is multi valued or not when applied to a Batch . |
Methods in org.apache.jackrabbit.spi.commons.batch that return Operation | |
---|---|
static Operation |
Operations.addNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid)
Factory method for creating an Operations.AddNode operation. |
static Operation |
Operations.addProperty(NodeId parentId,
Name propertyName,
QValue value)
Factory method for creating an Operations.AddProperty operation. |
static Operation |
Operations.addProperty(NodeId parentId,
Name propertyName,
QValue[] values)
Factory method for creating an Operations.AddProperty operation. |
static Operation |
Operations.empty()
Factory method for creating an Operations.Empty operation. |
static Operation |
Operations.move(NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Factory method for creating a Operations.Move operation. |
static Operation |
Operations.remove(ItemId itemId)
Factory method for creating a Operations.Remove operation. |
static Operation |
Operations.reorderNodes(NodeId parentId,
NodeId srcNodeId,
NodeId beforeNodeId)
Factory method for creating a reorder-nodes Operation for the given arguments. |
static Operation |
Operations.setMixins(NodeId nodeId,
Name[] mixinNodeTypeNames)
Factory method for creating a set-mixin Operation for the given arguments. |
static Operation |
Operations.setValue(PropertyId propertyId,
QValue value)
Factory method for creating set-value Operation for the given arguments. |
static Operation |
Operations.setValue(PropertyId propertyId,
QValue[] values)
Factory method for creating a set-value Operation for the given arguments. |
Methods in org.apache.jackrabbit.spi.commons.batch with parameters of type Operation | |
---|---|
protected void |
ChangeLogImpl.addOperation(Operation op)
This method is called when an operation is added to the list of ChangeLogImpl.operations
kept by this change log. |
protected void |
ConsolidatingChangeLog.addOperation(Operation 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.
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |