org.infoglue.cms.controllers.kernel.impl.simple
Class ComponentController
java.lang.Object
org.infoglue.cms.controllers.kernel.impl.simple.BaseController
org.infoglue.cms.controllers.kernel.impl.simple.ComponentController
public class ComponentController
- extends BaseController
This class handles all access to components.
- Author:
- Mattias Bogeblad
|
Method Summary |
java.util.List |
getComponents(java.lang.String[] allowedComponentNames)
This method returns the contents that are of contentTypeDefinition "HTMLTemplate" |
java.util.List |
getComponentVOList(java.lang.String sortAttribute,
java.lang.String direction,
java.lang.String[] allowedComponentNames)
This method returns a sorted list of components. |
java.util.List |
getComponentVOList(java.lang.String sortAttribute,
java.lang.String direction,
java.lang.String[] allowedComponentNames,
org.exolab.castor.jdo.Database db)
|
static ComponentController |
getController()
Factory method |
BaseEntityVO |
getNewVO()
|
| Methods inherited from class org.infoglue.cms.controllers.kernel.impl.simple.BaseController |
beginTransaction, beginTransaction, closeDatabase, commitTransaction, createEntity, createEntity, createQuery, deleteEntity, deleteEntity, deleteEntity, deleteEntity, executeQuery, executeQuery, executeQuery, executeQuery, getAllObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getLogger, getObjectWithId, getObjectWithId, getObjectWithIdAsReadOnly, getVOWithId, getVOWithId, getVOWithId, getVOWithId, intercept, intercept, rollbackTransaction, toModifiableVOList, toVOList, updateEntity, updateEntity, updateEntity, updateEntity, validateEntity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentController
public ComponentController()
getController
public static ComponentController getController()
- Factory method
getComponentVOList
public java.util.List getComponentVOList(java.lang.String sortAttribute,
java.lang.String direction,
java.lang.String[] allowedComponentNames)
throws SystemException,
Bug,
java.lang.Exception
- This method returns a sorted list of components.
- Parameters:
sortAttribute -
- Returns:
-
- Throws:
SystemException
Bug
java.lang.Exception
getComponentVOList
public java.util.List getComponentVOList(java.lang.String sortAttribute,
java.lang.String direction,
java.lang.String[] allowedComponentNames,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug,
java.lang.Exception
- Throws:
SystemException
Bug
java.lang.Exception
getComponents
public java.util.List getComponents(java.lang.String[] allowedComponentNames)
throws java.lang.Exception
- This method returns the contents that are of contentTypeDefinition "HTMLTemplate"
- Throws:
java.lang.Exception
getNewVO
public BaseEntityVO getNewVO()
- Specified by:
getNewVO in class BaseController
Copyright © 2005 InfoGlue.org All Rights Reserved.