Class HistoricVariableInstanceResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.AbstractResourceProvider<HistoricVariableInstanceQuery,HistoricVariableInstance,HistoricVariableInstanceDto>
-
- 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
Constructors Constructor Description HistoricVariableInstanceResourceImpl(java.lang.String variableId, ProcessEngine engine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.javax.ws.rs.core.Response
deleteVariableInstance()
protected java.lang.String
getResourceNameForErrorMessage()
protected TypedValue
transformQueryResultIntoTypedValue(HistoricVariableInstance queryResult)
protected HistoricVariableInstanceDto
transformToDto(HistoricVariableInstance queryResult)
-
Methods inherited from class org.camunda.bpm.engine.rest.sub.AbstractResourceProvider
getEngine, getId, getResource, getResourceBinary
-
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(java.lang.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.
-
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.
-
transformQueryResultIntoTypedValue
protected TypedValue transformQueryResultIntoTypedValue(HistoricVariableInstance queryResult)
-
transformToDto
protected HistoricVariableInstanceDto transformToDto(HistoricVariableInstance queryResult)
- Specified by:
transformToDto
in classAbstractResourceProvider<HistoricVariableInstanceQuery,HistoricVariableInstance,HistoricVariableInstanceDto>
-
getResourceNameForErrorMessage
protected java.lang.String getResourceNameForErrorMessage()
-
deleteVariableInstance
public javax.ws.rs.core.Response deleteVariableInstance()
- Specified by:
deleteVariableInstance
in interfaceHistoricVariableInstanceResource
-
-