Package db

# Interface DBChangeSet

All Known Subinterfaces:
  `DomainObjectDBChangeSet`

public interface DBChangeSet
`DBChangeSet` facilitates the reading and writing of application level change data associated with BufferFile.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `read(DBHandle dbh)`
  Read into this change set from the specified database handle.
  `void`
  `write(DBHandle dbh, boolean isRecoverySave)`
  Write this change set to the specified database handle.

- ## Method Details

  - ### read

    void read(DBHandle dbh) throws IOException
    Read into this change set from the specified database handle. The database handle will not be retained and should be closed by the invoker of this method.
    Parameters:
      `dbh` - database handle
    Throws:
      `IOException` - if IO error occurs

  - ### write

    void write(DBHandle dbh, boolean isRecoverySave) throws IOException
    Write this change set to the specified database handle. The database handle will not be retained and should be closed by the invoker of this method.
    Parameters:
      `dbh` - database handle
      `isRecoverySave` - true if this write is because of a recovery snapshot or false if due to a user save action.
    Throws:
      `IOException` - if IO error occurs