Package db
Interface DBListener
-
- All Known Implementing Classes:
AddressRangeMapDB
public interface DBListener
Database Listener.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dbClosed(DBHandle dbh)
Database has been closedvoid
dbRestored(DBHandle dbh)
Provides notification that an undo or redo was performed.void
tableAdded(DBHandle dbh, Table table)
Provides notification that a table was added.void
tableDeleted(DBHandle dbh, Table table)
Provides notification that a table was deleted.
-
-
-
Method Detail
-
dbRestored
void dbRestored(DBHandle dbh)
Provides notification that an undo or redo was performed. Separate notification will be provided if tables were added/removed. The state of the database may still be in transition and should not be accessed by this callback method.- Parameters:
dbh
- associated database handle
-
dbClosed
void dbClosed(DBHandle dbh)
Database has been closed- Parameters:
dbh
- associated database handle
-
tableDeleted
void tableDeleted(DBHandle dbh, Table table)
Provides notification that a table was deleted. The state of the database may still be in transition and should not be accessed by this callback method.- Parameters:
dbh
- associated database handletable
-
-
-