public class ChangeLogImpl extends AbstractChangeLog<Operation>
ChangeLog implementation simply keeps back all calls to its Batch methods as
a list of AbstractChangeLog.operations (with item of type Operation). When applied to a batch, all operations in the list are applied to that
batch.operations| Constructor and Description |
|---|
ChangeLogImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name nodeName,
org.apache.jackrabbit.spi.Name nodetypeName,
String uuid) |
void |
addProperty(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName,
org.apache.jackrabbit.spi.QValue value) |
void |
addProperty(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName,
org.apache.jackrabbit.spi.QValue[] values) |
void |
move(org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId destParentNodeId,
org.apache.jackrabbit.spi.Name destName) |
void |
remove(org.apache.jackrabbit.spi.ItemId itemId) |
void |
reorderNodes(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId beforeNodeId) |
void |
setMixins(org.apache.jackrabbit.spi.NodeId nodeId,
org.apache.jackrabbit.spi.Name[] mixinNodeTypeNames) |
void |
setPrimaryType(org.apache.jackrabbit.spi.NodeId nodeId,
org.apache.jackrabbit.spi.Name primaryNodeTypeName) |
void |
setTree(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Tree contentTree) |
void |
setValue(org.apache.jackrabbit.spi.PropertyId propertyId,
org.apache.jackrabbit.spi.QValue value) |
void |
setValue(org.apache.jackrabbit.spi.PropertyId propertyId,
org.apache.jackrabbit.spi.QValue[] values) |
addOperation, apply, equals, equals, hashCode, toStringpublic void addNode(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name nodeName,
org.apache.jackrabbit.spi.Name nodetypeName,
String uuid)
throws RepositoryException
RepositoryExceptionpublic void addProperty(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName,
org.apache.jackrabbit.spi.QValue value)
throws RepositoryException
RepositoryExceptionpublic void addProperty(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName,
org.apache.jackrabbit.spi.QValue[] values)
throws RepositoryException
RepositoryExceptionpublic void move(org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId destParentNodeId,
org.apache.jackrabbit.spi.Name destName)
throws RepositoryException
RepositoryExceptionpublic void remove(org.apache.jackrabbit.spi.ItemId itemId)
throws RepositoryException
RepositoryExceptionpublic void reorderNodes(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId beforeNodeId)
throws RepositoryException
RepositoryExceptionpublic void setMixins(org.apache.jackrabbit.spi.NodeId nodeId,
org.apache.jackrabbit.spi.Name[] mixinNodeTypeNames)
throws RepositoryException
RepositoryExceptionpublic void setPrimaryType(org.apache.jackrabbit.spi.NodeId nodeId,
org.apache.jackrabbit.spi.Name primaryNodeTypeName)
throws RepositoryException
RepositoryExceptionpublic void setValue(org.apache.jackrabbit.spi.PropertyId propertyId,
org.apache.jackrabbit.spi.QValue value)
throws RepositoryException
RepositoryExceptionpublic void setValue(org.apache.jackrabbit.spi.PropertyId propertyId,
org.apache.jackrabbit.spi.QValue[] values)
throws RepositoryException
RepositoryExceptionpublic void setTree(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Tree contentTree)
throws RepositoryException
RepositoryExceptionCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.