public class WorkflowController extends DocumentController
| Constructor and Description |
|---|
WorkflowController() |
| Modifier and Type | Method and Description |
|---|---|
List<org.imixs.workflow.ItemCollection> |
getEvents()
This method returns a List of workflow events assigned to the corresponding
'$taskid' and '$modelversion' of the current WorkItem.
|
ModelService |
getModelService()
returns an instance of the ModelService EJB
|
WorkflowService |
getWorkflowService() |
String |
init(String action)
This action method is used to initialize a new workitem with the inital
values of the assigend workflow task.
|
String |
process()
This method processes the current workItem and returns an action result.
|
String |
process(int id)
This method processes the current workItem with the provided activityID.
|
String |
process(int id,
boolean resetWorkitem)
This method processes the current workItem with the provided activityID.
|
addMessage, create, create, delete, delete, getDefaultType, getDocumentService, getWorkitem, isNewWorkitem, load, load, reset, save, save, setDefaultType, setWorkitempublic ModelService getModelService()
public WorkflowService getWorkflowService()
public String init(String action) throws org.imixs.workflow.exceptions.ModelException
action - - the action returned by this methodorg.imixs.workflow.exceptions.ModelException - is thrown in case not valid worklfow task if defined by the
current model.public String process() throws org.imixs.workflow.exceptions.PluginException, org.imixs.workflow.exceptions.ModelException
org.imixs.workflow.exceptions.AccessDeniedExceptionorg.imixs.workflow.exceptions.PluginExceptionorg.imixs.workflow.exceptions.ModelExceptionpublic String process(int id, boolean resetWorkitem) throws org.imixs.workflow.exceptions.PluginException, org.imixs.workflow.exceptions.ModelException
id - - eventID to be processedresetWorkitem - - boolean indicates if the workitem should be resetorg.imixs.workflow.exceptions.PluginExceptionorg.imixs.workflow.exceptions.ModelExceptionprocess()public String process(int id) throws org.imixs.workflow.exceptions.ModelException, org.imixs.workflow.exceptions.PluginException
id - - activityID to be processedorg.imixs.workflow.exceptions.PluginExceptionorg.imixs.workflow.exceptions.ModelExceptionprocess(),
process(id,resetWorkitem)public List<org.imixs.workflow.ItemCollection> getEvents()
Copyright © 2006–2018 Imixs Software Solutions GmbH. All rights reserved.