|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.struts.action.ActionForm | +--org.jwaf.bo.BusinessObject
BusinessObject class works as an adapter for data objects to provide implementation for both Castor and Struts.
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Fields inherited from interface org.exolab.castor.jdo.TimeStampable |
NO_TIMESTAMP |
Constructor Summary | |
BusinessObject()
Creates new PersistentBOAdapter |
Method Summary | |
abstract java.lang.Object |
getIdentity()
Get the primary key object |
void |
jdoAfterCreate()
This method is called by persistence engine |
void |
jdoAfterRemove()
This method is called by persistence engine |
void |
jdoBeforeCreate(org.exolab.castor.jdo.Database database)
This method is called by persistence engine on before create. |
void |
jdoBeforeRemove()
This method is called by persistence engine |
long |
jdoGetTimeStamp()
Get the timeStamp of last persistence. |
java.lang.Class |
jdoLoad(short param)
This method is called by persistence engine when object is loaded from persistence |
void |
jdoPersistent(org.exolab.castor.jdo.Database database)
This method is called by persistence engine |
void |
jdoSetTimeStamp(long timeStamp)
Set the timeStamp of last persistence. |
void |
jdoStore(boolean param)
This method is called by persistence engine |
void |
jdoTransient()
Castor before create call back method |
void |
jdoUpdate()
This method is called by persistence engine when object is updated in persistence |
Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, reset, reset, setMultipartRequestHandler, setServlet, validate, validate, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BusinessObject()
Method Detail |
public void jdoStore(boolean param) throws java.lang.Exception
jdoStore
in interface org.exolab.castor.jdo.Persistent
public void jdoPersistent(org.exolab.castor.jdo.Database database)
jdoPersistent
in interface org.exolab.castor.jdo.Persistent
public void jdoAfterRemove() throws java.lang.Exception
jdoAfterRemove
in interface org.exolab.castor.jdo.Persistent
public void jdoAfterCreate() throws java.lang.Exception
jdoAfterCreate
in interface org.exolab.castor.jdo.Persistent
public void jdoBeforeRemove() throws java.lang.Exception
jdoBeforeRemove
in interface org.exolab.castor.jdo.Persistent
public void jdoUpdate() throws java.lang.Exception
jdoUpdate
in interface org.exolab.castor.jdo.Persistent
public java.lang.Class jdoLoad(short param) throws java.lang.Exception
jdoLoad
in interface org.exolab.castor.jdo.Persistent
param
- java.lang.Exception
- public void jdoTransient()
jdoTransient
in interface org.exolab.castor.jdo.Persistent
public void jdoBeforeCreate(org.exolab.castor.jdo.Database database) throws java.lang.Exception
jdoBeforeCreate
in interface org.exolab.castor.jdo.Persistent
database
- Castor database objectjava.lang.Exception
- Exceptionpublic abstract java.lang.Object getIdentity()
public long jdoGetTimeStamp()
jdoGetTimeStamp
in interface org.exolab.castor.jdo.TimeStampable
public void jdoSetTimeStamp(long timeStamp)
jdoSetTimeStamp
in interface org.exolab.castor.jdo.TimeStampable
timeStamp
- Passed time stamp
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |