|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.infoglue.cms.controllers.kernel.impl.simple.BaseController
BaseController.java Created on 2002-aug-28
| Constructor Summary | |
BaseController()
|
|
| Method Summary | |
static void |
deleteEntity(java.lang.Class entClass,
java.lang.Integer id)
|
static void |
deleteEntity(java.lang.Class entClass,
java.lang.Integer id,
org.exolab.castor.jdo.Database db)
|
static void |
deleteEntity(java.lang.Class entClass,
java.lang.String id)
|
java.util.List |
getAllVOObjects(java.lang.Class arg,
java.lang.String primaryKey)
This method fetches all object in read only mode and returns a list of value objects sorted on primary Key. |
java.util.List |
getAllVOObjects(java.lang.Class arg,
java.lang.String primaryKey,
org.exolab.castor.jdo.Database db)
This method fetches all object in read only mode and returns a list of value objects. |
static java.util.List |
getAllVOObjects(java.lang.Class arg,
java.lang.String orderByAttribute,
java.lang.String direction)
This method fetches all object in read only mode and returns a list of value objects. |
static java.util.List |
getAllVOObjects(java.lang.Class arg,
java.lang.String orderByField,
java.lang.String direction,
org.exolab.castor.jdo.Database db)
This method fetches all object in read only mode and returns a list of value objects. |
abstract BaseEntityVO |
getNewVO()
|
static java.lang.Object |
getVOWithId(java.lang.Class arg,
java.lang.Integer id)
This method is used to fetch a ValueObject from the database. |
static BaseEntityVO |
getVOWithId(java.lang.Class arg,
java.lang.Integer id,
org.exolab.castor.jdo.Database db)
This method fetches one object in read only mode and returns it's value object. |
static java.lang.Object |
getVOWithId(java.lang.Class arg,
java.lang.String id)
This method is used to fetch a ValueObject from the database. |
static java.util.List |
toModifiableVOList(java.util.Collection baseEntities)
This method converts a List of entities to a list of value-objects. |
static java.util.List |
toVOList(java.util.Collection baseEntities)
This method converts a List of entities to a list of value-objects. |
static BaseEntityVO |
updateEntity(java.lang.Class arg,
BaseEntityVO vo)
|
static BaseEntityVO |
updateEntity(java.lang.Class arg,
BaseEntityVO vo,
org.exolab.castor.jdo.Database db)
|
static BaseEntityVO |
updateEntity(java.lang.Class entClass,
BaseEntityVO vo,
java.lang.String collectionMethod,
java.lang.Class manyClass,
java.lang.String[] manyIds)
|
static ConstraintExceptionBuffer |
validateEntity(ValidatableEntityVO vo)
Validation and integrity check of entities - cre 2002-09-18 / SS |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BaseController()
| Method Detail |
public static void deleteEntity(java.lang.Class entClass,
java.lang.Integer id)
throws Bug,
SystemException
Bug
SystemException
public static void deleteEntity(java.lang.Class entClass,
java.lang.String id)
throws Bug,
SystemException
Bug
SystemException
public static void deleteEntity(java.lang.Class entClass,
java.lang.Integer id,
org.exolab.castor.jdo.Database db)
throws Bug,
SystemException
Bug
SystemException
public static BaseEntityVO updateEntity(java.lang.Class arg,
BaseEntityVO vo)
throws Bug,
SystemException
Bug
SystemException
public static BaseEntityVO updateEntity(java.lang.Class arg,
BaseEntityVO vo,
org.exolab.castor.jdo.Database db)
throws Bug,
SystemException
Bug
SystemException
public static BaseEntityVO updateEntity(java.lang.Class entClass,
BaseEntityVO vo,
java.lang.String collectionMethod,
java.lang.Class manyClass,
java.lang.String[] manyIds)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public static java.util.List toVOList(java.util.Collection baseEntities)
throws SystemException,
Bug
SystemException
Bug
public static java.util.List toModifiableVOList(java.util.Collection baseEntities)
throws SystemException,
Bug
SystemException
Bug
public static java.lang.Object getVOWithId(java.lang.Class arg,
java.lang.Integer id)
throws SystemException,
Bug
SystemException
Bug
public static BaseEntityVO getVOWithId(java.lang.Class arg,
java.lang.Integer id,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public static java.lang.Object getVOWithId(java.lang.Class arg,
java.lang.String id)
throws SystemException,
Bug
SystemException
Bug
public static java.util.List getAllVOObjects(java.lang.Class arg,
java.lang.String orderByAttribute,
java.lang.String direction)
throws SystemException,
Bug
SystemException
Bug
public static java.util.List getAllVOObjects(java.lang.Class arg,
java.lang.String orderByField,
java.lang.String direction,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAllVOObjects(java.lang.Class arg,
java.lang.String primaryKey)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAllVOObjects(java.lang.Class arg,
java.lang.String primaryKey,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bugpublic static ConstraintExceptionBuffer validateEntity(ValidatableEntityVO vo)
public abstract BaseEntityVO getNewVO()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||