T - public abstract class AbstractChangeLog<T extends Operation> extends Object implements ChangeLog
ChangeLog implementations maintains a list of operations
of type type T.| Modifier and Type | Field and Description |
|---|---|
protected List<T> |
operations
Operations kept in this change log. |
| Constructor and Description |
|---|
AbstractChangeLog() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOperation(T op)
Added an operation to the list of
operations. |
org.apache.jackrabbit.spi.Batch |
apply(org.apache.jackrabbit.spi.Batch batch)
This implementation applies each of the operation maintained by
this change log to the passed
batch. |
boolean |
equals(AbstractChangeLog<?> other) |
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
public void addOperation(T op) throws javax.jcr.RepositoryException
operations.op - Operation to addjavax.jcr.RepositoryExceptionpublic org.apache.jackrabbit.spi.Batch apply(org.apache.jackrabbit.spi.Batch batch)
throws javax.jcr.RepositoryException
batch.
Applies the Operations contained in this change log to
the passed batch.public boolean equals(AbstractChangeLog<?> other)
Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.