Class BatchLogger

java.lang.Object
org.apache.jackrabbit.spi.commons.logging.AbstractLogger
org.apache.jackrabbit.spi.commons.logging.BatchLogger
All Implemented Interfaces:
Batch

public class BatchLogger extends AbstractLogger implements Batch
Log wrapper for a Batch.
  • Constructor Summary

    Constructors
    Constructor
    Description
    BatchLogger(Batch batch, LogWriter writer)
    Create a new instance for the given batch which uses writer for persisting log messages.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addNode(NodeId parentId, Name nodeName, Name nodetypeName, String uuid)
    Add a new node to the persistent layer.
    void
    addProperty(NodeId parentId, Name propertyName, QValue value)
    Add a new property to the persistent layer.
    void
    addProperty(NodeId parentId, Name propertyName, QValue[] values)
    Add a new multi-valued property to the persistent layer.
     
    void
    move(NodeId srcNodeId, NodeId destParentNodeId, Name destName)
    Move the node identified by the given srcNodeId to the new parent identified by destParentNodeId and change its name to destName.
    void
    remove(ItemId itemId)
    Remove an existing item.
    void
    reorderNodes(NodeId parentId, NodeId srcNodeId, NodeId beforeNodeId)
    Modify the order of the child nodes identified by the given NodeIds.
    void
    setMixins(NodeId nodeId, Name[] mixinNodeTypeNames)
    Modify the set of mixin node types present on the node identified by the given id.
    void
    setPrimaryType(NodeId nodeId, Name primaryNodeTypeName)
    Change the primary type of the node identified by the given nodeId.
    void
    setTree(NodeId parentId, Tree contentTree)
    Add a new content tree to the persistent layer.
    void
    setValue(PropertyId propertyId, QValue value)
    Modify the value of an existing property.
    void
    setValue(PropertyId propertyId, QValue[] values)
    Modify the value of an existing, multi-valued property.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait