|
||||||||||
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 | |
---|---|
Set<ItemState> |
getAffectedStates()
|
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
RepositoryException
public ItemState getTarget()
public boolean isEmpty()
operations
are present.public Set<Operation> getOperations()
public Set<ItemState> getAffectedStates()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |