Class ChangeLogImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.batch.AbstractChangeLog<Operation>
-
- org.apache.jackrabbit.spi.commons.batch.ChangeLogImpl
-
- All Implemented Interfaces:
org.apache.jackrabbit.spi.Batch,ChangeLog
public class ChangeLogImpl extends AbstractChangeLog<Operation>
ThisChangeLogimplementation simply keeps back all calls to itsBatchmethods as a list ofAbstractChangeLog.operations(with item of typeOperation). Whenappliedto a batch, all operations in the list areappliedto that batch.
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.spi.commons.batch.AbstractChangeLog
operations
-
-
Constructor Summary
Constructors Constructor Description ChangeLogImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNode(org.apache.jackrabbit.spi.NodeId parentId, org.apache.jackrabbit.spi.Name nodeName, org.apache.jackrabbit.spi.Name nodetypeName, String uuid)voidaddProperty(org.apache.jackrabbit.spi.NodeId parentId, org.apache.jackrabbit.spi.Name propertyName, org.apache.jackrabbit.spi.QValue value)voidaddProperty(org.apache.jackrabbit.spi.NodeId parentId, org.apache.jackrabbit.spi.Name propertyName, org.apache.jackrabbit.spi.QValue[] values)voidmove(org.apache.jackrabbit.spi.NodeId srcNodeId, org.apache.jackrabbit.spi.NodeId destParentNodeId, org.apache.jackrabbit.spi.Name destName)voidremove(org.apache.jackrabbit.spi.ItemId itemId)voidreorderNodes(org.apache.jackrabbit.spi.NodeId parentId, org.apache.jackrabbit.spi.NodeId srcNodeId, org.apache.jackrabbit.spi.NodeId beforeNodeId)voidsetMixins(org.apache.jackrabbit.spi.NodeId nodeId, org.apache.jackrabbit.spi.Name[] mixinNodeTypeNames)voidsetPrimaryType(org.apache.jackrabbit.spi.NodeId nodeId, org.apache.jackrabbit.spi.Name primaryNodeTypeName)voidsetTree(org.apache.jackrabbit.spi.NodeId parentId, org.apache.jackrabbit.spi.Tree contentTree)voidsetValue(org.apache.jackrabbit.spi.PropertyId propertyId, org.apache.jackrabbit.spi.QValue value)voidsetValue(org.apache.jackrabbit.spi.PropertyId propertyId, org.apache.jackrabbit.spi.QValue[] values)-
Methods inherited from class org.apache.jackrabbit.spi.commons.batch.AbstractChangeLog
addOperation, apply, equals, equals, hashCode, toString
-
-
-
-
Method Detail
-
addNode
public void addNode(org.apache.jackrabbit.spi.NodeId parentId, org.apache.jackrabbit.spi.Name nodeName, org.apache.jackrabbit.spi.Name nodetypeName, String uuid) throws RepositoryException- Throws:
RepositoryException
-
addProperty
public void addProperty(org.apache.jackrabbit.spi.NodeId parentId, org.apache.jackrabbit.spi.Name propertyName, org.apache.jackrabbit.spi.QValue value) throws RepositoryException- Throws:
RepositoryException
-
addProperty
public void addProperty(org.apache.jackrabbit.spi.NodeId parentId, org.apache.jackrabbit.spi.Name propertyName, org.apache.jackrabbit.spi.QValue[] values) throws RepositoryException- Throws:
RepositoryException
-
move
public void move(org.apache.jackrabbit.spi.NodeId srcNodeId, org.apache.jackrabbit.spi.NodeId destParentNodeId, org.apache.jackrabbit.spi.Name destName) throws RepositoryException- Throws:
RepositoryException
-
remove
public void remove(org.apache.jackrabbit.spi.ItemId itemId) throws RepositoryException- Throws:
RepositoryException
-
reorderNodes
public void reorderNodes(org.apache.jackrabbit.spi.NodeId parentId, org.apache.jackrabbit.spi.NodeId srcNodeId, org.apache.jackrabbit.spi.NodeId beforeNodeId) throws RepositoryException- Throws:
RepositoryException
-
setMixins
public void setMixins(org.apache.jackrabbit.spi.NodeId nodeId, org.apache.jackrabbit.spi.Name[] mixinNodeTypeNames) throws RepositoryException- Throws:
RepositoryException
-
setPrimaryType
public void setPrimaryType(org.apache.jackrabbit.spi.NodeId nodeId, org.apache.jackrabbit.spi.Name primaryNodeTypeName) throws RepositoryException- Throws:
RepositoryException
-
setValue
public void setValue(org.apache.jackrabbit.spi.PropertyId propertyId, org.apache.jackrabbit.spi.QValue value) throws RepositoryException- Throws:
RepositoryException
-
setValue
public void setValue(org.apache.jackrabbit.spi.PropertyId propertyId, org.apache.jackrabbit.spi.QValue[] values) throws RepositoryException- Throws:
RepositoryException
-
setTree
public void setTree(org.apache.jackrabbit.spi.NodeId parentId, org.apache.jackrabbit.spi.Tree contentTree) throws RepositoryException- Throws:
RepositoryException
-
-