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

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

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

onDelete

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