|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.infoglue.cms.controllers.delivery.kernel.impl.simple.BaseDeliveryController
BaseDeliveryController.java Baseclass for Castor Controller Classes. Various methods to handle transactions and so on
| Constructor Summary | |
BaseDeliveryController()
|
|
| Method Summary | |
static void |
beginTransaction(org.exolab.castor.jdo.Database db)
Begins a transaction on the named database |
static void |
closeDatabase(org.exolab.castor.jdo.Database db)
Close the database |
static void |
commitTransaction(org.exolab.castor.jdo.Database db)
Ends a transaction on the named database |
protected java.lang.Object |
getObjectWithId(java.lang.Class arg,
java.lang.Integer id,
org.exolab.castor.jdo.Database db)
This method fetches one object / entity within a transaction. |
static void |
rollbackTransaction(org.exolab.castor.jdo.Database db)
Rollbacks a transaction on the named database |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BaseDeliveryController()
| Method Detail |
protected java.lang.Object getObjectWithId(java.lang.Class arg,
java.lang.Integer id,
org.exolab.castor.jdo.Database db)
throws org.infoglue.cms.exception.SystemException,
org.infoglue.cms.exception.Bug
org.infoglue.cms.exception.SystemException
org.infoglue.cms.exception.Bug
public static void beginTransaction(org.exolab.castor.jdo.Database db)
throws org.infoglue.cms.exception.SystemException
org.infoglue.cms.exception.SystemException
public static void commitTransaction(org.exolab.castor.jdo.Database db)
throws org.infoglue.cms.exception.SystemException
org.infoglue.cms.exception.SystemException
public static void rollbackTransaction(org.exolab.castor.jdo.Database db)
throws org.infoglue.cms.exception.SystemException
org.infoglue.cms.exception.SystemException
public static void closeDatabase(org.exolab.castor.jdo.Database db)
throws org.infoglue.cms.exception.SystemException
org.infoglue.cms.exception.SystemException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||