|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.jcr2spi.state.ChangeLog
public class ChangeLog
Registers changes made to states and references and consolidates empty changes.
| Method Summary | |
|---|---|
java.util.Set<ItemState> |
getAffectedStates()
|
java.util.Set<Operation> |
getOperations()
|
ItemState |
getTarget()
|
boolean |
isEmpty()
|
void |
persisted()
Call this method when this change log has been successfully persisted. |
void |
undo()
Revert the changes listed within this changelog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void persisted()
throws RepositoryException
Operation.persisted() on the
individual operations followed by setting all remaining modified
states to EXISTING.
RepositoryException
public void undo()
throws RepositoryException
RepositoryExceptionpublic ItemState getTarget()
public boolean isEmpty()
operations are present.public java.util.Set<Operation> getOperations()
public java.util.Set<ItemState> getAffectedStates()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||