org.camunda.bpm.engine.rest.sub.history.impl
Class HistoricVariableInstanceResourceImpl

java.lang.Object
  extended by org.camunda.bpm.engine.rest.sub.AbstractResourceProvider<HistoricVariableInstanceQuery,HistoricVariableInstance,HistoricVariableInstanceDto>
      extended by org.camunda.bpm.engine.rest.sub.history.impl.HistoricVariableInstanceResourceImpl
All Implemented Interfaces:
HistoricVariableInstanceResource

public class HistoricVariableInstanceResourceImpl
extends AbstractResourceProvider<HistoricVariableInstanceQuery,HistoricVariableInstance,HistoricVariableInstanceDto>
implements HistoricVariableInstanceResource

Author:
Daniel Meyer, Ronny Bräunlich

Field Summary
 
Fields inherited from class org.camunda.bpm.engine.rest.sub.AbstractResourceProvider
engine, id
 
Constructor Summary
HistoricVariableInstanceResourceImpl(String variableId, ProcessEngine engine)
           
 
Method Summary
protected  HistoricVariableInstanceQuery baseQuery()
           
protected  Query<HistoricVariableInstanceQuery,HistoricVariableInstance> baseQueryForBinaryVariable()
          Create the query we need for fetching the desired result.
protected  Query<HistoricVariableInstanceQuery,HistoricVariableInstance> baseQueryForVariable(boolean deserializeObjectValue)
          TODO change comment Create the query we need for fetching the desired result.
protected  String getResourceNameForErrorMessage()
           
protected  org.camunda.bpm.engine.variable.value.TypedValue transformQueryResultIntoTypedValue(HistoricVariableInstance queryResult)
           
protected  HistoricVariableInstanceDto transformToDto(HistoricVariableInstance queryResult)
           
 
Methods inherited from class org.camunda.bpm.engine.rest.sub.AbstractResourceProvider
getEngine, getId, getResource, getResourceBinary, responseForByteVariable, responseForFileVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.engine.rest.sub.history.HistoricVariableInstanceResource
getResource, getResourceBinary
 

Constructor Detail

HistoricVariableInstanceResourceImpl

public HistoricVariableInstanceResourceImpl(String variableId,
                                            ProcessEngine engine)
Method Detail

baseQuery

protected HistoricVariableInstanceQuery baseQuery()

baseQueryForBinaryVariable

protected Query<HistoricVariableInstanceQuery,HistoricVariableInstance> 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<HistoricVariableInstanceQuery,HistoricVariableInstance,HistoricVariableInstanceDto>

baseQueryForVariable

protected Query<HistoricVariableInstanceQuery,HistoricVariableInstance> 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<HistoricVariableInstanceQuery,HistoricVariableInstance,HistoricVariableInstanceDto>

transformQueryResultIntoTypedValue

protected org.camunda.bpm.engine.variable.value.TypedValue transformQueryResultIntoTypedValue(HistoricVariableInstance queryResult)
Specified by:
transformQueryResultIntoTypedValue in class AbstractResourceProvider<HistoricVariableInstanceQuery,HistoricVariableInstance,HistoricVariableInstanceDto>

transformToDto

protected HistoricVariableInstanceDto transformToDto(HistoricVariableInstance queryResult)
Specified by:
transformToDto in class AbstractResourceProvider<HistoricVariableInstanceQuery,HistoricVariableInstance,HistoricVariableInstanceDto>

getResourceNameForErrorMessage

protected String getResourceNameForErrorMessage()
Specified by:
getResourceNameForErrorMessage in class AbstractResourceProvider<HistoricVariableInstanceQuery,HistoricVariableInstance,HistoricVariableInstanceDto>


Copyright © 2016 camunda services GmbH. All rights reserved.