|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DatabaseChangeListener
listens for committed changes through DBClassStore objects in a database and propagates the information to its listeners.
DatabaseChangeMonitor,
DBUtils.listenWhileVisible(javax.swing.JComponent, Database, DatabaseChangeListener)| Nested Class Summary | |
|---|---|
static class |
DatabaseChangeListener.ClassListener
allows to easily register an ActionListener for changes on a particular DBEntry class |
static class |
DatabaseChangeListener.LoggerListener
allows to simply log the events |
| Method Summary | |
|---|---|
void |
committedDatabaseChanges(Database<?> db,
DBUpdateEvent... events)
called after successfully committing the given DBUpdateEvents on the database. |
| Method Detail |
|---|
@Warning(value="do not directly begin a new transaction when implementing this method")
void committedDatabaseChanges(Database<?> db,
DBUpdateEvent... events)
TransactionListener.transactionCommitted(DBTransaction),
DBVersionedUpdateEvent
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||