FileDocCategorySizeDatePackage
PreDeleteEventListener.javaAPI DocHibernate 3.2.5397Sun Mar 11 18:16:48 GMT 2007org.hibernate.event

PreDeleteEventListener.java

//$Id: PreDeleteEventListener.java 11271 2007-03-12 00:16:48Z epbernard $
package org.hibernate.event;

import java.io.Serializable;

/**
 * Called before deleting an item from the datastore
 * 
 * @author Gavin King
 */
public interface PreDeleteEventListener extends Serializable {
	/**
	 * Return true if the operation should be vetoed
	 */
	public boolean onPreDelete(PreDeleteEvent event);
}