org.hibernate.event
Interface DeleteEventListener

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultDeleteEventListener, EJB3DeleteEventListener

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


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.