org.argosfields.persistence
Class PersistentEntity

java.lang.Object
  extended byorg.argosfields.persistence.PersistentEntity
All Implemented Interfaces:
net.sf.hibernate.Lifecycle, Serializable
Direct Known Subclasses:
Account, GameLog

public class PersistentEntity
extends Object
implements Serializable, net.sf.hibernate.Lifecycle

PersistentEntity.java

Version:
$Revision 1.1 $ $Date: 2004/04/15 05:43:55 $
Author:
Xavier Cho
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface net.sf.hibernate.Lifecycle
NO_VETO, VETO
 
Constructor Summary
PersistentEntity()
           
 
Method Summary
 boolean onDelete(net.sf.hibernate.Session session)
           
 void onLoad(net.sf.hibernate.Session session, Serializable id)
           
 boolean onSave(net.sf.hibernate.Session session)
           
 boolean onUpdate(net.sf.hibernate.Session session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentEntity

public PersistentEntity()
Method Detail

onSave

public boolean onSave(net.sf.hibernate.Session session)
               throws net.sf.hibernate.CallbackException
Specified by:
onSave in interface net.sf.hibernate.Lifecycle
Throws:
net.sf.hibernate.CallbackException
See Also:
Lifecycle.onSave(net.sf.hibernate.Session)

onUpdate

public boolean onUpdate(net.sf.hibernate.Session session)
                 throws net.sf.hibernate.CallbackException
Specified by:
onUpdate in interface net.sf.hibernate.Lifecycle
Throws:
net.sf.hibernate.CallbackException
See Also:
Lifecycle.onUpdate(net.sf.hibernate.Session)

onDelete

public boolean onDelete(net.sf.hibernate.Session session)
                 throws net.sf.hibernate.CallbackException
Specified by:
onDelete in interface net.sf.hibernate.Lifecycle
Throws:
net.sf.hibernate.CallbackException
See Also:
Lifecycle.onDelete(net.sf.hibernate.Session)

onLoad

public void onLoad(net.sf.hibernate.Session session,
                   Serializable id)
Specified by:
onLoad in interface net.sf.hibernate.Lifecycle
See Also:
onLoad(net.sf.hibernate.Session, java.io.Serializable)


Copyright © Gnome Korea. All Rights Reserved.