站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

DeleteEventListener (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.event
Interface DeleteEventListener

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultDeleteEventListener

public interface DeleteEventListener
extends Serializable

Defines the contract for handling of deletion events generated from a session.

Author:
Steve Ebersole

Method Summary
 void onDelete(DeleteEvent event)
          Handle the given delete event.
 void onDelete(DeleteEvent event, Set transientEntities)
           
 

Method Detail

onDelete

public void onDelete(DeleteEvent event)
              throws HibernateException
Handle the given delete event.

Parameters:
event - The delete event to be handled.
Throws:
HibernateException

onDelete

public void onDelete(DeleteEvent event,
                     Set transientEntities)
              throws HibernateException
Throws:
HibernateException