org.infoglue.cms.controllers.kernel.impl.simple
Class WorkflowDefinitionController

java.lang.Object
  |
  +--org.infoglue.cms.controllers.kernel.impl.simple.BaseController
        |
        +--org.infoglue.cms.controllers.kernel.impl.simple.WorkflowDefinitionController

public class WorkflowDefinitionController
extends BaseController

Author:
Mattias Bogeblad

Constructor Summary
WorkflowDefinitionController()
           
 
Method Summary
 WorkflowDefinitionVO create(WorkflowDefinitionVO workflowDefinitionVO)
          Returns the Content Type Definition with the given name fetched within a given transaction.
 void delete(WorkflowDefinitionVO workflowDefinitionVO)
           
static WorkflowDefinitionController getController()
          Factory method
 BaseEntityVO getNewVO()
          This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling.
 WorkflowDefinition getWorkflowDefinitionWithId(java.lang.Integer workflowDefinitionId, org.exolab.castor.jdo.Database db)
           
 java.util.List getWorkflowDefinitionVOList()
           
 WorkflowDefinitionVO getWorkflowDefinitionVOWithId(java.lang.Integer workflowDefinitionId)
           
 WorkflowDefinitionVO update(WorkflowDefinitionVO workflowDefinitionVO)
           
 
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
 

Constructor Detail

WorkflowDefinitionController

public WorkflowDefinitionController()
Method Detail

getController

public static WorkflowDefinitionController getController()
Factory method


getWorkflowDefinitionVOWithId

public WorkflowDefinitionVO getWorkflowDefinitionVOWithId(java.lang.Integer workflowDefinitionId)
                                                   throws SystemException,
                                                          Bug
SystemException
Bug

getWorkflowDefinitionWithId

public WorkflowDefinition getWorkflowDefinitionWithId(java.lang.Integer workflowDefinitionId,
                                                      org.exolab.castor.jdo.Database db)
                                               throws SystemException,
                                                      Bug
SystemException
Bug

getWorkflowDefinitionVOList

public java.util.List getWorkflowDefinitionVOList()
                                           throws SystemException,
                                                  Bug
SystemException
Bug

create

public WorkflowDefinitionVO create(WorkflowDefinitionVO workflowDefinitionVO)
                            throws ConstraintException,
                                   SystemException
Returns the Content Type Definition with the given name fetched within a given transaction.

Returns:
Throws:
SystemException
Bug
ConstraintException

delete

public void delete(WorkflowDefinitionVO workflowDefinitionVO)
            throws ConstraintException,
                   SystemException
ConstraintException
SystemException

update

public WorkflowDefinitionVO update(WorkflowDefinitionVO workflowDefinitionVO)
                            throws ConstraintException,
                                   SystemException
ConstraintException
SystemException

getNewVO

public BaseEntityVO getNewVO()
This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling.

Specified by:
getNewVO in class BaseController