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 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.Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.