@RestController @RequestMapping(value="/rest/task-forms") public class TaskFormResource extends AbstractTaskFormResource
formProcessingService, objectMapper, permissionService, relatedContentService, taskService
Constructor and Description |
---|
TaskFormResource() |
Modifier and Type | Method and Description |
---|---|
void |
completeTaskForm(String taskId,
com.activiti.model.runtime.CompleteFormRepresentation completeTaskFormRepresentation) |
List<com.activiti.model.runtime.ProcessInstanceVariableRepresentation> |
getProcessInstanceVariables(String taskId) |
com.activiti.model.editor.form.FormDefinitionRepresentation |
getTaskForm(String taskId) |
getFormFieldFromTaskForm
@RequestMapping(value="/{taskId}", method=GET, produces="application/json") public com.activiti.model.editor.form.FormDefinitionRepresentation getTaskForm(@PathVariable String taskId)
getTaskForm
in class AbstractTaskFormResource
@RequestMapping(value="/{taskId}", method=POST, produces="application/json") public void completeTaskForm(@PathVariable String taskId, @RequestBody com.activiti.model.runtime.CompleteFormRepresentation completeTaskFormRepresentation)
completeTaskForm
in class AbstractTaskFormResource
@RequestMapping(value="/{taskId}/variables", method=GET, produces="application/json") public List<com.activiti.model.runtime.ProcessInstanceVariableRepresentation> getProcessInstanceVariables(@PathVariable String taskId)
getProcessInstanceVariables
in class AbstractTaskFormResource
Copyright © 2014–2015 Alfresco. All rights reserved.