public class ChangeLog extends Object
| Modifier and Type | Method and Description |
|---|---|
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
|
public void persisted()
throws javax.jcr.RepositoryException
Operation.persisted() on the
individual operations followed by setting all remaining modified
states to EXISTING.javax.jcr.RepositoryExceptionpublic void undo()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic ItemState getTarget()
public boolean isEmpty()
operations are present.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.