Class BaseExecutionVariableResource

java.lang.Object
org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
BaseVariableCollectionResource, ExecutionVariableDataResource, ExecutionVariableResource, ProcessInstanceVariableDataResource, ProcessInstanceVariableResource

public class BaseExecutionVariableResource extends Object implements org.springframework.beans.factory.InitializingBean
Author:
Frederik Heremans
  • Field Details

    • env

      @Autowired protected org.springframework.core.env.Environment env
    • restResponseFactory

      @Autowired protected RestResponseFactory restResponseFactory
    • runtimeService

      @Autowired protected RuntimeService runtimeService
    • restApiInterceptor

      @Autowired(required=false) protected BpmnRestApiInterceptor restApiInterceptor
    • isSerializableVariableAllowed

      protected boolean isSerializableVariableAllowed
    • variableType

      protected final int variableType
  • Constructor Details

    • BaseExecutionVariableResource

      public BaseExecutionVariableResource(int variableType)
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • getVariableDataByteArray

      protected byte[] getVariableDataByteArray(Execution execution, String variableName, String scope, jakarta.servlet.http.HttpServletResponse response)
    • setBinaryVariable

      protected RestVariable setBinaryVariable(org.springframework.web.multipart.MultipartHttpServletRequest request, Execution execution, boolean isNew)
    • setSimpleVariable

      protected RestVariable setSimpleVariable(RestVariable restVariable, Execution execution, boolean isNew)
    • setVariable

      protected void setVariable(Execution execution, String name, Object value, RestVariable.RestVariableScope scope, boolean isNew)
    • hasVariableOnScope

      protected boolean hasVariableOnScope(Execution execution, String variableName, RestVariable.RestVariableScope scope)
    • getVariableFromRequest

      public RestVariable getVariableFromRequest(Execution execution, String variableName, String scope, boolean includeBinary)
    • getVariableFromRequestWithoutAccessCheck

      public RestVariable getVariableFromRequestWithoutAccessCheck(Execution execution, String variableName, RestVariable.RestVariableScope variableScope, boolean includeBinary)
    • constructRestVariable

      protected RestVariable constructRestVariable(String variableName, Object value, RestVariable.RestVariableScope variableScope, String executionId, boolean includeBinary)
    • getExecutionFromRequestWithoutAccessCheck

      protected Execution getExecutionFromRequestWithoutAccessCheck(String executionId)
    • getExecutionIdParameter

      protected String getExecutionIdParameter()
    • allowProcessInstanceUrl

      protected boolean allowProcessInstanceUrl()