org.apache.jackrabbit.spi.commons.batch
Interface ChangeLog

All Superinterfaces:
Batch
All Known Implementing Classes:
AbstractChangeLog, ChangeLogImpl, ConsolidatingChangeLog

public interface ChangeLog
extends Batch

A ChangeLog is a specialized Batch which keeps a list of Operations. The apply(Batch) method applies these operations to another batch.


Method Summary
 Batch apply(Batch batch)
          Applies the Operations contained in this change log to the passed batch.
 
Methods inherited from interface org.apache.jackrabbit.spi.Batch
addNode, addProperty, addProperty, move, remove, reorderNodes, setMixins, setPrimaryType, setValue, setValue
 

Method Detail

apply

Batch apply(Batch batch)
            throws RepositoryException
Applies the Operations contained in this change log to the passed batch.

Parameters:
batch -
Returns:
The batch passed in as argument with the operations from this change log applied.
Throws:
RepositoryException


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.