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

PreUpdateEventListener.java

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

import java.io.Serializable;

/**
 * Called before updating the datastore
 * 
 * @author Gavin King
 */
public interface PreUpdateEventListener extends Serializable {
	/**
	 * Return true if the operation should be vetoed
	 */
	public boolean onPreUpdate(PreUpdateEvent event);
}