View Javadoc
1 package org.argosfields.persistence; 2 3 import java.io.Serializable; 4 5 import net.sf.hibernate.CallbackException; 6 import net.sf.hibernate.Lifecycle; 7 import net.sf.hibernate.Session; 8 9 /*** 10 * PersistentEntity.java 11 * @author Xavier Cho 12 * @version $Revision 1.1 $ $Date: 2004/04/15 05:43:55 $ 13 */ 14 public class PersistentEntity implements Serializable, Lifecycle { 15 16 /*** 17 * @see net.sf.hibernate.Lifecycle#onSave(net.sf.hibernate.Session) 18 */ 19 public boolean onSave(final Session session) throws CallbackException { 20 return NO_VETO; 21 } 22 23 /*** 24 * @see net.sf.hibernate.Lifecycle#onUpdate(net.sf.hibernate.Session) 25 */ 26 public boolean onUpdate(final Session session) throws CallbackException { 27 return NO_VETO; 28 } 29 30 /*** 31 * @see net.sf.hibernate.Lifecycle#onDelete(net.sf.hibernate.Session) 32 */ 33 public boolean onDelete(final Session session) throws CallbackException { 34 return NO_VETO; 35 } 36 37 /*** 38 * @see net.sf.hibernate.Lifecycle# 39 * onLoad(net.sf.hibernate.Session, java.io.Serializable) 40 */ 41 public void onLoad(final Session session, final Serializable id) { 42 } 43 }

This page was automatically generated by Maven