public static class TableListener.Adapter<B> extends java.lang.Object implements TableListener<B>
TableListener interface.TableListener.Adapter<B>| Constructor and Description |
|---|
Adapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterDelete(B bean)
Invoked just after deleting a B record in the database.
|
void |
afterInsert(B bean)
Invoked just after a B record is inserted in the database.
|
void |
afterUpdate(B bean)
Invoked just after updating a B record in the database.
|
void |
beforeDelete(B bean)
Invoked just before deleting a B record in the database.
|
void |
beforeInsert(B bean)
Invoked just before inserting a B record into the database.
|
void |
beforeUpdate(B bean)
Invoked just before updating a B record in the database.
|
void |
done()
Invoked in finally block, just after insert,update,delete.
|
public void beforeInsert(B bean) throws RuntimeDaoException
TableListenerbeforeInsert in interface TableListener<B>bean - the B that is about to be insertedRuntimeDaoExceptionpublic void afterInsert(B bean) throws RuntimeDaoException
TableListenerafterInsert in interface TableListener<B>bean - the B that was just insertedRuntimeDaoExceptionpublic void beforeUpdate(B bean) throws RuntimeDaoException
TableListenerbeforeUpdate in interface TableListener<B>bean - the B that is about to be updatedRuntimeDaoExceptionpublic void afterUpdate(B bean) throws RuntimeDaoException
TableListenerafterUpdate in interface TableListener<B>bean - the B that was just updatedRuntimeDaoExceptionpublic void beforeDelete(B bean) throws RuntimeDaoException
TableListenerbeforeDelete in interface TableListener<B>bean - the B that is about to be deletedRuntimeDaoExceptionpublic void afterDelete(B bean) throws RuntimeDaoException
TableListenerafterDelete in interface TableListener<B>bean - the B that was just deletedRuntimeDaoExceptionpublic void done()
throws RuntimeDaoException
TableListenerdone in interface TableListener<B>RuntimeDaoExceptionCopyright © 2021. All Rights Reserved.