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
| Methods inherited from class org.infoglue.cms.controllers.kernel.impl.simple.BaseController |
deleteEntity, deleteEntity, deleteEntity, getAllVOObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getVOWithId, getVOWithId, getVOWithId, toModifiableVOList, toVOList, updateEntity, updateEntity, updateEntity, validateEntity |
| Methods inherited from class java.lang.Object |
equals, 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)
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,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug,
java.lang.Exception
SystemException
Bug
java.lang.Exception
getComponents
public java.util.List getComponents()
throws java.lang.Exception
- This method returns the contents that are of contentTypeDefinition "HTMLTemplate"
java.lang.Exception
getNewVO
public BaseEntityVO getNewVO()
- Specified by:
getNewVO in class BaseController