Class HistoricVariableInstanceResourceImpl
java.lang.Object
org.camunda.bpm.engine.rest.sub.AbstractResourceProvider<org.camunda.bpm.engine.history.HistoricVariableInstanceQuery,org.camunda.bpm.engine.history.HistoricVariableInstance,HistoricVariableInstanceDto>
org.camunda.bpm.engine.rest.sub.history.impl.HistoricVariableInstanceResourceImpl
- All Implemented Interfaces:
HistoricVariableInstanceResource
public class HistoricVariableInstanceResourceImpl
extends AbstractResourceProvider<org.camunda.bpm.engine.history.HistoricVariableInstanceQuery,org.camunda.bpm.engine.history.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
ConstructorsConstructorDescriptionHistoricVariableInstanceResourceImpl(String variableId, org.camunda.bpm.engine.ProcessEngine engine) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.camunda.bpm.engine.history.HistoricVariableInstanceQueryprotected org.camunda.bpm.engine.query.Query<org.camunda.bpm.engine.history.HistoricVariableInstanceQuery,org.camunda.bpm.engine.history.HistoricVariableInstance> Create the query we need for fetching the desired result.protected org.camunda.bpm.engine.query.Query<org.camunda.bpm.engine.history.HistoricVariableInstanceQuery,org.camunda.bpm.engine.history.HistoricVariableInstance> baseQueryForVariable(boolean deserializeObjectValue) TODO change comment Create the query we need for fetching the desired result.javax.ws.rs.core.Responseprotected Stringprotected org.camunda.bpm.engine.variable.value.TypedValuetransformQueryResultIntoTypedValue(org.camunda.bpm.engine.history.HistoricVariableInstance queryResult) protected HistoricVariableInstanceDtotransformToDto(org.camunda.bpm.engine.history.HistoricVariableInstance queryResult) Methods inherited from class org.camunda.bpm.engine.rest.sub.AbstractResourceProvider
getEngine, getId, getResource, getResourceBinaryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.rest.sub.history.HistoricVariableInstanceResource
getResource, getResourceBinary
-
Constructor Details
-
HistoricVariableInstanceResourceImpl
public HistoricVariableInstanceResourceImpl(String variableId, org.camunda.bpm.engine.ProcessEngine engine)
-
-
Method Details
-
baseQuery
protected org.camunda.bpm.engine.history.HistoricVariableInstanceQuery baseQuery() -
baseQueryForBinaryVariable
protected org.camunda.bpm.engine.query.Query<org.camunda.bpm.engine.history.HistoricVariableInstanceQuery,org.camunda.bpm.engine.history.HistoricVariableInstance> baseQueryForBinaryVariable()Description copied from class:AbstractResourceProviderCreate 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:
baseQueryForBinaryVariablein classAbstractResourceProvider<org.camunda.bpm.engine.history.HistoricVariableInstanceQuery,org.camunda.bpm.engine.history.HistoricVariableInstance, HistoricVariableInstanceDto>
-
baseQueryForVariable
protected org.camunda.bpm.engine.query.Query<org.camunda.bpm.engine.history.HistoricVariableInstanceQuery,org.camunda.bpm.engine.history.HistoricVariableInstance> baseQueryForVariable(boolean deserializeObjectValue) Description copied from class:AbstractResourceProviderTODO 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:
baseQueryForVariablein classAbstractResourceProvider<org.camunda.bpm.engine.history.HistoricVariableInstanceQuery,org.camunda.bpm.engine.history.HistoricVariableInstance, HistoricVariableInstanceDto>
-
transformQueryResultIntoTypedValue
protected org.camunda.bpm.engine.variable.value.TypedValue transformQueryResultIntoTypedValue(org.camunda.bpm.engine.history.HistoricVariableInstance queryResult) - Specified by:
transformQueryResultIntoTypedValuein classAbstractResourceProvider<org.camunda.bpm.engine.history.HistoricVariableInstanceQuery,org.camunda.bpm.engine.history.HistoricVariableInstance, HistoricVariableInstanceDto>
-
transformToDto
protected HistoricVariableInstanceDto transformToDto(org.camunda.bpm.engine.history.HistoricVariableInstance queryResult) - Specified by:
transformToDtoin classAbstractResourceProvider<org.camunda.bpm.engine.history.HistoricVariableInstanceQuery,org.camunda.bpm.engine.history.HistoricVariableInstance, HistoricVariableInstanceDto>
-
getResourceNameForErrorMessage
- Specified by:
getResourceNameForErrorMessagein classAbstractResourceProvider<org.camunda.bpm.engine.history.HistoricVariableInstanceQuery,org.camunda.bpm.engine.history.HistoricVariableInstance, HistoricVariableInstanceDto>
-
deleteVariableInstance
public javax.ws.rs.core.Response deleteVariableInstance()- Specified by:
deleteVariableInstancein interfaceHistoricVariableInstanceResource
-