程序包 gu.sql2java
类 TableListener.Adapter<B>
java.lang.Object
gu.sql2java.TableListener.Adapter<B>
- 所有已实现的接口:
TableListener<B>
- 封闭接口:
TableListener<B>
This adapter class provides default implementations for the
methods declared by the
TableListener interface.- 作者:
- guyadong
-
嵌套类概要
从接口继承的嵌套类/接口 gu.sql2java.TableListener
TableListener.Adapter<B> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidafterDelete(B bean) Invoked just after deleting a B record in the database.voidafterInsert(B bean) Invoked just after a B record is inserted in the database.voidafterUpdate(B bean) Invoked just after updating a B record in the database.voidbeforeDelete(B bean) Invoked just before deleting a B record in the database.voidbeforeInsert(B bean) Invoked just before inserting a B record into the database.voidbeforeUpdate(B bean) Invoked just before updating a B record in the database.voiddone()Invoked in finally block, just after insert,update,delete.
-
构造器详细资料
-
Adapter
public Adapter()
-
-
方法详细资料
-
beforeInsert
从接口复制的说明:TableListenerInvoked just before inserting a B record into the database.- 指定者:
beforeInsert在接口中TableListener<B>- 参数:
bean- the B that is about to be inserted- 抛出:
RuntimeDaoException
-
afterInsert
从接口复制的说明:TableListenerInvoked just after a B record is inserted in the database.- 指定者:
afterInsert在接口中TableListener<B>- 参数:
bean- the B that was just inserted- 抛出:
RuntimeDaoException
-
beforeUpdate
从接口复制的说明:TableListenerInvoked just before updating a B record in the database.- 指定者:
beforeUpdate在接口中TableListener<B>- 参数:
bean- the B that is about to be updated- 抛出:
RuntimeDaoException
-
afterUpdate
从接口复制的说明:TableListenerInvoked just after updating a B record in the database.- 指定者:
afterUpdate在接口中TableListener<B>- 参数:
bean- the B that was just updated- 抛出:
RuntimeDaoException
-
beforeDelete
从接口复制的说明:TableListenerInvoked just before deleting a B record in the database.- 指定者:
beforeDelete在接口中TableListener<B>- 参数:
bean- the B that is about to be deleted- 抛出:
RuntimeDaoException
-
afterDelete
从接口复制的说明:TableListenerInvoked just after deleting a B record in the database.- 指定者:
afterDelete在接口中TableListener<B>- 参数:
bean- the B that was just deleted- 抛出:
RuntimeDaoException
-
done
从接口复制的说明:TableListenerInvoked in finally block, just after insert,update,delete.- 指定者:
done在接口中TableListener<B>- 抛出:
RuntimeDaoException
-