Class ChangeLog


  • public class ChangeLog
    extends Object
    Registers changes made to states and references and consolidates empty changes.
    • Method Detail

      • persisted

        public void persisted()
                       throws RepositoryException
        Call this method when this change log has been successfully persisted. This implementation will call Operation.persisted() on the individual operations followed by setting all remaining modified states to EXISTING.
        Throws:
        RepositoryException
      • getTarget

        public ItemState getTarget()
        Returns:
        the target state
      • isEmpty

        public boolean isEmpty()
        Returns:
        true if no operations are present.
      • getOperations

        public Set<Operation> getOperations()
        Returns:
        set of operations.
      • getAffectedStates

        public Set<ItemState> getAffectedStates()
        Returns:
        set of the affected states.