Class ExecutionVariableCollectionResource
- java.lang.Object
-
- org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
-
- org.flowable.rest.service.api.runtime.process.BaseVariableCollectionResource
-
- org.flowable.rest.service.api.runtime.process.ExecutionVariableCollectionResource
-
@RestController public class ExecutionVariableCollectionResource extends BaseVariableCollectionResource
- Author:
- Frederik Heremans
-
-
Field Summary
-
Fields inherited from class org.flowable.rest.service.api.runtime.process.BaseVariableCollectionResource
objectMapper
-
Fields inherited from class org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
env, isSerializableVariableAllowed, restApiInterceptor, restResponseFactory, runtimeService, variableType
-
-
Constructor Summary
Constructors Constructor Description ExecutionVariableCollectionResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectcreateExecutionVariable(String executionId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)ObjectcreateOrUpdateExecutionVariable(String executionId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)voiddeleteLocalVariables(String executionId, javax.servlet.http.HttpServletResponse response)List<RestVariable>getVariables(String executionId, String scope, javax.servlet.http.HttpServletRequest request)-
Methods inherited from class org.flowable.rest.service.api.runtime.process.BaseVariableCollectionResource
addGlobalVariables, addLocalVariables, createExecutionVariable, deleteAllLocalVariables, processVariables
-
Methods inherited from class org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
allowProcessInstanceUrl, constructRestVariable, getExecutionFromRequestWithoutAccessCheck, getExecutionIdParameter, getVariableDataByteArray, getVariableFromRequest, getVariableFromRequestWithoutAccessCheck, hasVariableOnScope, postConstruct, setBinaryVariable, setSimpleVariable, setVariable
-
-
-
-
Method Detail
-
getVariables
@GetMapping(value="/runtime/executions/{executionId}/variables", produces="application/json") public List<RestVariable> getVariables(@PathVariable String executionId, @RequestParam(value="scope",required=false) String scope, javax.servlet.http.HttpServletRequest request)
-
createOrUpdateExecutionVariable
@PutMapping(value="/runtime/executions/{executionId}/variables", produces="application/json", consumes={"application/json","multipart/form-data"}) public Object createOrUpdateExecutionVariable(@PathVariable String executionId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
createExecutionVariable
@PostMapping(value="/runtime/executions/{executionId}/variables", produces="application/json", consumes={"application/json","multipart/form-data"}) public Object createExecutionVariable(@PathVariable String executionId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
deleteLocalVariables
@DeleteMapping("/runtime/executions/{executionId}/variables") public void deleteLocalVariables(@PathVariable String executionId, javax.servlet.http.HttpServletResponse response)
-
-