org.alfresco.bm.workflow
Class AdhocWorkflowExecutor
java.lang.Object
org.alfresco.bm.workflow.AdhocWorkflowExecutor
- All Implemented Interfaces:
- WorkflowExecutor
public class AdhocWorkflowExecutor
- extends Object
- implements WorkflowExecutor
Workflow executor that starts an Adhoc Activti process.
- Author:
- Frederik Heremans
|
Method Summary |
org.json.simple.JSONObject |
getStartFormValues(WorkflowData workflow,
org.alfresco.bm.user.UserData user)
Get the values to use when posting the start-form for this WorkflowData
instance. |
org.json.simple.JSONObject |
getTaskFormValues(WorkflowData workflow,
org.alfresco.bm.user.UserData user,
org.json.simple.JSONObject taskInstance)
Get the values to use when posting the task-form to complete the task instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdhocWorkflowExecutor
public AdhocWorkflowExecutor()
getStartFormValues
public org.json.simple.JSONObject getStartFormValues(WorkflowData workflow,
org.alfresco.bm.user.UserData user)
- Description copied from interface:
WorkflowExecutor
- Get the values to use when posting the start-form for this
WorkflowData
instance.
- Specified by:
getStartFormValues in interface WorkflowExecutor
- Parameters:
workflow - the workflow to be starteduser - user starting the workflow
- Returns:
- the JSON to use as request-body
getTaskFormValues
public org.json.simple.JSONObject getTaskFormValues(WorkflowData workflow,
org.alfresco.bm.user.UserData user,
org.json.simple.JSONObject taskInstance)
- Description copied from interface:
WorkflowExecutor
- Get the values to use when posting the task-form to complete the task instance.
- Specified by:
getTaskFormValues in interface WorkflowExecutor
- Parameters:
workflow - worklfow this task is part ofuser - user completing the tasktaskInstance - JSONObject containing task-instance
- Returns:
- the JSON to use as request-body
Copyright © 2012. All Rights Reserved.