Interface DomainObjectDBChangeSet

All Superinterfaces:
DBChangeSet

public interface DomainObjectDBChangeSet extends DBChangeSet
DomainObjectDBChangeSet extends DBChangeSet providing methods which facilitate transaction synchronization with the domain object's DBHandle.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clears the undo/redo stack.
    void
    clearUndo(boolean isCheckedOut)
    Resets the change sets after a save.
    void
    endTransaction(boolean commit)
    End change data transaction.
    void
    Redo the change data transaction associated the last Undo.
    void
    setMaxUndos(int maxUndos)
    Set the undo/redo stack depth
    void
    Start change data transaction.
    void
    Undo the last change data transaction

    Methods inherited from interface db.DBChangeSet

    read, write
  • Method Details

    • clearUndo

      void clearUndo(boolean isCheckedOut)
      Resets the change sets after a save.
    • undo

      void undo()
      Undo the last change data transaction
    • redo

      void redo()
      Redo the change data transaction associated the last Undo.
    • setMaxUndos

      void setMaxUndos(int maxUndos)
      Set the undo/redo stack depth
      Parameters:
      maxUndos - the maximum numbder of undo
    • clearUndo

      void clearUndo()
      Clears the undo/redo stack.
    • startTransaction

      void startTransaction()
      Start change data transaction.
    • endTransaction

      void endTransaction(boolean commit)
      End change data transaction.
      Parameters:
      commit - if true transaction data is committed, otherwise transaction data is discarded