public class AdhocWorkflowExecutor extends Object implements WorkflowExecutor
Constructor and Description |
---|
AdhocWorkflowExecutor() |
Modifier and Type | Method and Description |
---|---|
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.
|
public org.json.simple.JSONObject getStartFormValues(WorkflowData workflow, org.alfresco.bm.user.UserData user)
WorkflowExecutor
WorkflowData
instance.getStartFormValues
in interface WorkflowExecutor
workflow
- the workflow to be starteduser
- user starting the workflowpublic org.json.simple.JSONObject getTaskFormValues(WorkflowData workflow, org.alfresco.bm.user.UserData user, org.json.simple.JSONObject taskInstance)
WorkflowExecutor
getTaskFormValues
in interface WorkflowExecutor
workflow
- worklfow this task is part ofuser
- user completing the tasktaskInstance
- JSONObject
containing task-instanceCopyright © 2012. All Rights Reserved.