@RestController public class ProcessInstanceVariableCollectionResource extends BaseVariableCollectionResource
objectMapper
env, isSerializableVariableAllowed, restResponseFactory, runtimeService
Constructor and Description |
---|
ProcessInstanceVariableCollectionResource() |
Modifier and Type | Method and Description |
---|---|
protected void |
addGlobalVariables(org.activiti.engine.runtime.Execution execution,
int variableType,
Map<String,RestVariable> variableMap) |
protected void |
addLocalVariables(org.activiti.engine.runtime.Execution execution,
int variableType,
Map<String,RestVariable> variableMap) |
Object |
createExecutionVariable(String processInstanceId,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Object |
createOrUpdateExecutionVariable(String processInstanceId,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
deleteLocalVariables(String processInstanceId,
javax.servlet.http.HttpServletResponse response) |
List<RestVariable> |
getVariables(String processInstanceId,
String scope,
javax.servlet.http.HttpServletRequest request) |
createExecutionVariable, deleteAllLocalVariables, processVariables
allowProcessInstanceUrl, constructRestVariable, getExecutionFromRequest, getExecutionIdParameter, getProcessInstanceFromRequest, getVariableDataByteArray, getVariableFromRequest, hasVariableOnScope, postConstruct, setBinaryVariable, setSimpleVariable, setVariable
public ProcessInstanceVariableCollectionResource()
@RequestMapping(value="/runtime/process-instances/{processInstanceId}/variables", method=GET, produces="application/json") public List<RestVariable> getVariables(@PathVariable String processInstanceId, @RequestParam(value="scope",required=false) String scope, javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/runtime/process-instances/{processInstanceId}/variables", method=PUT, produces="application/json") public Object createOrUpdateExecutionVariable(@PathVariable String processInstanceId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(value="/runtime/process-instances/{processInstanceId}/variables", method=POST, produces="application/json") public Object createExecutionVariable(@PathVariable String processInstanceId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(value="/runtime/process-instances/{processInstanceId}/variables", method=DELETE) public void deleteLocalVariables(@PathVariable String processInstanceId, javax.servlet.http.HttpServletResponse response)
protected void addGlobalVariables(org.activiti.engine.runtime.Execution execution, int variableType, Map<String,RestVariable> variableMap)
addGlobalVariables
in class BaseVariableCollectionResource
protected void addLocalVariables(org.activiti.engine.runtime.Execution execution, int variableType, Map<String,RestVariable> variableMap)
addLocalVariables
in class BaseVariableCollectionResource
Copyright © 2016 Alfresco. All rights reserved.