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
All Methods Instance Methods Abstract Methods 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 Detail
-
read
void read(DBHandle dbh) throws java.io.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:
java.io.IOException
- if IO error occurs
-
write
void write(DBHandle dbh, boolean isRecoverySave) throws java.io.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 handleisRecoverySave
- true if this write is because of a recovery snapshot or false if due to a user save action.- Throws:
java.io.IOException
- if IO error occurs
-
-