@RestController public class TaskVariableCollectionResource extends TaskVariableBaseResource
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
runtimeService
historyService, restResponseFactory, taskService
Constructor and Description |
---|
TaskVariableCollectionResource() |
Modifier and Type | Method and Description |
---|---|
protected void |
addGlobalVariables(org.activiti.engine.task.Task task,
Map<String,RestVariable> variableMap) |
protected void |
addLocalVariables(org.activiti.engine.task.Task task,
Map<String,RestVariable> variableMap) |
Object |
createTaskVariable(String taskId,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
deleteAllLocalTaskVariables(String taskId,
javax.servlet.http.HttpServletResponse response) |
List<RestVariable> |
getVariables(String taskId,
String scope,
javax.servlet.http.HttpServletRequest request) |
getVariableFromRequest, hasVariableOnScope, setBinaryVariable, setSimpleVariable, setVariable
addProcessvariables, addTaskvariables, getDelegationState, getHistoricTaskFromRequest, getTaskFromRequest, getTasksFromQueryRequest, populateTaskFromRequest
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
@RequestMapping(value="/runtime/tasks/{taskId}/variables", method=GET, produces="application/json") public List<RestVariable> getVariables(@PathVariable String taskId, @RequestParam(value="scope",required=false) String scope, javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/runtime/tasks/{taskId}/variables", method=POST, produces="application/json") public Object createTaskVariable(@PathVariable String taskId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(value="/runtime/tasks/{taskId}/variables", method=DELETE) public void deleteAllLocalTaskVariables(@PathVariable String taskId, javax.servlet.http.HttpServletResponse response)
protected void addGlobalVariables(org.activiti.engine.task.Task task, Map<String,RestVariable> variableMap)
protected void addLocalVariables(org.activiti.engine.task.Task task, Map<String,RestVariable> variableMap)
Copyright © 2016 Alfresco. All rights reserved.