Class VariableInstanceResourceImpl

java.lang.Object
org.camunda.bpm.engine.rest.sub.AbstractResourceProvider<org.camunda.bpm.engine.runtime.VariableInstanceQuery,org.camunda.bpm.engine.runtime.VariableInstance,VariableInstanceDto>
org.camunda.bpm.engine.rest.sub.runtime.impl.VariableInstanceResourceImpl
All Implemented Interfaces:
VariableInstanceResource

public class VariableInstanceResourceImpl extends AbstractResourceProvider<org.camunda.bpm.engine.runtime.VariableInstanceQuery,org.camunda.bpm.engine.runtime.VariableInstance,VariableInstanceDto> implements VariableInstanceResource
Author:
Daniel Meyer, Ronny Bräunlich
  • Constructor Details

    • VariableInstanceResourceImpl

      public VariableInstanceResourceImpl(String variableId, org.camunda.bpm.engine.ProcessEngine engine)
  • Method Details

    • baseQuery

      protected org.camunda.bpm.engine.runtime.VariableInstanceQuery baseQuery()
    • baseQueryForBinaryVariable

      protected org.camunda.bpm.engine.query.Query<org.camunda.bpm.engine.runtime.VariableInstanceQuery,org.camunda.bpm.engine.runtime.VariableInstance> baseQueryForBinaryVariable()
      Description copied from class: AbstractResourceProvider
      Create the query we need for fetching the desired result. Setting properties in the query like disableCustomObjectDeserialization() or disableBinaryFetching() should be done in this method.
      Specified by:
      baseQueryForBinaryVariable in class AbstractResourceProvider<org.camunda.bpm.engine.runtime.VariableInstanceQuery,org.camunda.bpm.engine.runtime.VariableInstance,VariableInstanceDto>
    • baseQueryForVariable

      protected org.camunda.bpm.engine.query.Query<org.camunda.bpm.engine.runtime.VariableInstanceQuery,org.camunda.bpm.engine.runtime.VariableInstance> baseQueryForVariable(boolean deserializeObjectValue)
      Description copied from class: AbstractResourceProvider
      TODO change comment Create the query we need for fetching the desired result. Setting properties in the query like disableCustomObjectDeserialization() or disableBinaryFetching() should be done in this method.
      Specified by:
      baseQueryForVariable in class AbstractResourceProvider<org.camunda.bpm.engine.runtime.VariableInstanceQuery,org.camunda.bpm.engine.runtime.VariableInstance,VariableInstanceDto>
    • transformQueryResultIntoTypedValue

      protected org.camunda.bpm.engine.variable.value.TypedValue transformQueryResultIntoTypedValue(org.camunda.bpm.engine.runtime.VariableInstance queryResult)
      Specified by:
      transformQueryResultIntoTypedValue in class AbstractResourceProvider<org.camunda.bpm.engine.runtime.VariableInstanceQuery,org.camunda.bpm.engine.runtime.VariableInstance,VariableInstanceDto>
    • transformToDto

      protected VariableInstanceDto transformToDto(org.camunda.bpm.engine.runtime.VariableInstance queryResult)
      Specified by:
      transformToDto in class AbstractResourceProvider<org.camunda.bpm.engine.runtime.VariableInstanceQuery,org.camunda.bpm.engine.runtime.VariableInstance,VariableInstanceDto>
    • getResourceNameForErrorMessage

      protected String getResourceNameForErrorMessage()
      Specified by:
      getResourceNameForErrorMessage in class AbstractResourceProvider<org.camunda.bpm.engine.runtime.VariableInstanceQuery,org.camunda.bpm.engine.runtime.VariableInstance,VariableInstanceDto>