|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi.commons.batch.ConsolidatingChangeLog.CancelableOperations
protected static final class ConsolidatingChangeLog.CancelableOperations
Factory for creating CancelableOperations.
The inner classes of this class all implement the CancelableOperation interface.
Operation| Nested Class Summary | |
|---|---|
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.SetPrimaryType
A SetPrimaryType operation might cancel with
Remove and
SetPrimaryType operations. |
static class |
ConsolidatingChangeLog.CancelableOperations.SetValue
A SetValue operation might cancel with
Remove and
SetValue operations. |
| Method Summary | |
|---|---|
static ConsolidatingChangeLog.CancelableOperation |
addNode(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name nodeName,
org.apache.jackrabbit.spi.Name nodetypeName,
String uuid)
Factory method for creating an AddNode operation. |
static ConsolidatingChangeLog.CancelableOperation |
addProperty(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName,
org.apache.jackrabbit.spi.QValue value)
Factory method for creating an AddProperty operation. |
static ConsolidatingChangeLog.CancelableOperation |
addProperty(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName,
org.apache.jackrabbit.spi.QValue[] values)
Factory method for creating an AddProperty operation. |
static ConsolidatingChangeLog.CancelableOperation |
empty()
Factory method for creating an Empty operation. |
static ConsolidatingChangeLog.CancelableOperation |
move(org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId destParentNodeId,
org.apache.jackrabbit.spi.Name destName)
Factory method for creating a Move operation. |
static ConsolidatingChangeLog.CancelableOperation |
remove(org.apache.jackrabbit.spi.ItemId itemId)
Factory method for creating a Remove operation. |
static ConsolidatingChangeLog.CancelableOperation |
reorderNodes(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId beforeNodeId)
Factory method for creating a ReorderNodes operation. |
static ConsolidatingChangeLog.CancelableOperation |
setMixins(org.apache.jackrabbit.spi.NodeId nodeId,
org.apache.jackrabbit.spi.Name[] mixinNodeTypeNames)
Factory method for creating a ConsolidatingChangeLog.CancelableOperations.SetMixins operation. |
static ConsolidatingChangeLog.CancelableOperation |
setPrimaryType(org.apache.jackrabbit.spi.NodeId nodeId,
org.apache.jackrabbit.spi.Name primaryTypeName)
Factory method for creating a ConsolidatingChangeLog.CancelableOperations.SetPrimaryType operation. |
static ConsolidatingChangeLog.CancelableOperation |
setValue(org.apache.jackrabbit.spi.PropertyId propertyId,
org.apache.jackrabbit.spi.QValue value)
Factory method for creating a SetValue operation. |
static ConsolidatingChangeLog.CancelableOperation |
setValue(org.apache.jackrabbit.spi.PropertyId propertyId,
org.apache.jackrabbit.spi.QValue[] values)
Factory method for creating a SetValue operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ConsolidatingChangeLog.CancelableOperation empty()
Empty operation.
public static ConsolidatingChangeLog.CancelableOperation addNode(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name nodeName,
org.apache.jackrabbit.spi.Name nodetypeName,
String uuid)
AddNode operation.
parentId - nodeName - nodetypeName - uuid -
Batch.addNode(NodeId, Name, Name, String)
public static ConsolidatingChangeLog.CancelableOperation addProperty(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName,
org.apache.jackrabbit.spi.QValue value)
AddProperty operation.
parentId - propertyName - value -
Batch.addProperty(NodeId, Name, QValue)
public static ConsolidatingChangeLog.CancelableOperation addProperty(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName,
org.apache.jackrabbit.spi.QValue[] values)
AddProperty operation.
parentId - propertyName - values -
Batch.addProperty(NodeId, Name, QValue[])
public static ConsolidatingChangeLog.CancelableOperation move(org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId destParentNodeId,
org.apache.jackrabbit.spi.Name destName)
Move operation.
srcNodeId - destParentNodeId - destName -
Batch.move(NodeId, NodeId, Name)public static ConsolidatingChangeLog.CancelableOperation remove(org.apache.jackrabbit.spi.ItemId itemId)
Remove operation.
itemId -
Batch.move(NodeId, NodeId, Name)
public static ConsolidatingChangeLog.CancelableOperation reorderNodes(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId beforeNodeId)
ReorderNodes operation.
parentId - srcNodeId - beforeNodeId -
Batch.reorderNodes(NodeId, NodeId, NodeId)
public static ConsolidatingChangeLog.CancelableOperation setMixins(org.apache.jackrabbit.spi.NodeId nodeId,
org.apache.jackrabbit.spi.Name[] mixinNodeTypeNames)
ConsolidatingChangeLog.CancelableOperations.SetMixins operation.
nodeId - mixinNodeTypeNames -
Batch.setMixins(NodeId, Name[])
public static ConsolidatingChangeLog.CancelableOperation setPrimaryType(org.apache.jackrabbit.spi.NodeId nodeId,
org.apache.jackrabbit.spi.Name primaryTypeName)
ConsolidatingChangeLog.CancelableOperations.SetPrimaryType operation.
nodeId - primaryTypeName -
Batch.setPrimaryType(NodeId, Name)
public static ConsolidatingChangeLog.CancelableOperation setValue(org.apache.jackrabbit.spi.PropertyId propertyId,
org.apache.jackrabbit.spi.QValue value)
SetValue operation.
propertyId - value -
Batch.setValue(PropertyId, QValue)
public static ConsolidatingChangeLog.CancelableOperation setValue(org.apache.jackrabbit.spi.PropertyId propertyId,
org.apache.jackrabbit.spi.QValue[] values)
SetValue operation.
propertyId - values -
Batch.setValue(PropertyId, QValue[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||