@RestController @RequestMapping(value="/rest/task-forms") public class TaskFormResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ActivitiTaskFormService |
taskFormService |
| Constructor and Description |
|---|
TaskFormResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
completeTaskForm(String taskId,
CompleteFormRepresentation completeTaskFormRepresentation) |
List<ProcessInstanceVariableRepresentation> |
getProcessInstanceVariables(String taskId) |
org.activiti.form.model.FormDefinition |
getTaskForm(String taskId) |
@Autowired protected ActivitiTaskFormService taskFormService
@RequestMapping(value="/{taskId}",
method=GET,
produces="application/json")
public org.activiti.form.model.FormDefinition getTaskForm(@PathVariable
String taskId)
@ResponseStatus(value=OK)
@RequestMapping(value="/{taskId}",
method=POST,
produces="application/json")
public void completeTaskForm(@PathVariable
String taskId,
@RequestBody
CompleteFormRepresentation completeTaskFormRepresentation)
@RequestMapping(value="/{taskId}/variables",
method=GET,
produces="application/json")
public List<ProcessInstanceVariableRepresentation> getProcessInstanceVariables(@PathVariable
String taskId)
Copyright © 2017 Alfresco. All rights reserved.