public class BatchLogger extends AbstractLogger implements org.apache.jackrabbit.spi.Batch
Batch.AbstractLogger.Callable, AbstractLogger.SafeCallablewriter| Constructor and Description |
|---|
BatchLogger(org.apache.jackrabbit.spi.Batch batch,
LogWriter writer)
Create a new instance for the given
batch which uses
writer for persisting log messages. |
| 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) |
org.apache.jackrabbit.spi.Batch |
getBatch() |
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) |
execute, executepublic BatchLogger(org.apache.jackrabbit.spi.Batch batch,
LogWriter writer)
batch which uses
writer for persisting log messages.batch - writer - public org.apache.jackrabbit.spi.Batch getBatch()
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
addNode in interface org.apache.jackrabbit.spi.BatchRepositoryExceptionpublic void addProperty(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName,
org.apache.jackrabbit.spi.QValue value)
throws RepositoryException
addProperty in interface org.apache.jackrabbit.spi.BatchRepositoryExceptionpublic void addProperty(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name propertyName,
org.apache.jackrabbit.spi.QValue[] values)
throws RepositoryException
addProperty in interface org.apache.jackrabbit.spi.BatchRepositoryExceptionpublic void setValue(org.apache.jackrabbit.spi.PropertyId propertyId,
org.apache.jackrabbit.spi.QValue value)
throws RepositoryException
setValue in interface org.apache.jackrabbit.spi.BatchRepositoryExceptionpublic void setValue(org.apache.jackrabbit.spi.PropertyId propertyId,
org.apache.jackrabbit.spi.QValue[] values)
throws RepositoryException
setValue in interface org.apache.jackrabbit.spi.BatchRepositoryExceptionpublic void remove(org.apache.jackrabbit.spi.ItemId itemId)
throws RepositoryException
remove in interface org.apache.jackrabbit.spi.BatchRepositoryExceptionpublic void reorderNodes(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId beforeNodeId)
throws RepositoryException
reorderNodes in interface org.apache.jackrabbit.spi.BatchRepositoryExceptionpublic void setMixins(org.apache.jackrabbit.spi.NodeId nodeId,
org.apache.jackrabbit.spi.Name[] mixinNodeTypeNames)
throws RepositoryException
setMixins in interface org.apache.jackrabbit.spi.BatchRepositoryExceptionpublic void setPrimaryType(org.apache.jackrabbit.spi.NodeId nodeId,
org.apache.jackrabbit.spi.Name primaryNodeTypeName)
throws RepositoryException
setPrimaryType in interface org.apache.jackrabbit.spi.BatchRepositoryExceptionpublic void move(org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId destParentNodeId,
org.apache.jackrabbit.spi.Name destName)
throws RepositoryException
move in interface org.apache.jackrabbit.spi.BatchRepositoryExceptionpublic void setTree(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Tree contentTree)
throws RepositoryException
setTree in interface org.apache.jackrabbit.spi.BatchRepositoryExceptionCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.