@RestController public class ProcessInstanceVariableCollectionResource extends BaseVariableCollectionResource
objectMapperenv, isSerializableVariableAllowed, restResponseFactory, runtimeService| Constructor and Description |
|---|
ProcessInstanceVariableCollectionResource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addGlobalVariables(Execution execution,
int variableType,
Map<String,RestVariable> variableMap) |
protected void |
addLocalVariables(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, processVariablesallowProcessInstanceUrl, constructRestVariable, getExecutionFromRequest, getExecutionIdParameter, getProcessInstanceFromRequest, getVariableDataByteArray, getVariableFromRequest, hasVariableOnScope, postConstruct, setBinaryVariable, setSimpleVariable, setVariablepublic ProcessInstanceVariableCollectionResource()
@GetMapping(value="/runtime/process-instances/{processInstanceId}/variables",
produces="application/json")
public List<RestVariable> getVariables(@PathVariable
String processInstanceId,
@RequestParam(value="scope",required=false)
String scope,
javax.servlet.http.HttpServletRequest request)
@PutMapping(value="/runtime/process-instances/{processInstanceId}/variables",
produces="application/json",
consumes={"application/json","multipart/form-data"})
public Object createOrUpdateExecutionVariable(@PathVariable
String processInstanceId,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
@PostMapping(value="/runtime/process-instances/{processInstanceId}/variables",
produces="application/json",
consumes={"application/json","multipart/form-data"})
public Object createExecutionVariable(@PathVariable
String processInstanceId,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
@DeleteMapping(value="/runtime/process-instances/{processInstanceId}/variables")
public void deleteLocalVariables(@PathVariable
String processInstanceId,
javax.servlet.http.HttpServletResponse response)
protected void addGlobalVariables(Execution execution, int variableType, Map<String,RestVariable> variableMap)
addGlobalVariables in class BaseVariableCollectionResourceprotected void addLocalVariables(Execution execution, int variableType, Map<String,RestVariable> variableMap)
addLocalVariables in class BaseVariableCollectionResourceCopyright © 2018 Flowable. All rights reserved.