Class VariableInstanceResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.AbstractResourceProvider<VariableInstanceQuery,VariableInstance,VariableInstanceDto>
-
- org.camunda.bpm.engine.rest.sub.runtime.impl.VariableInstanceResourceImpl
-
- All Implemented Interfaces:
VariableInstanceResource
public class VariableInstanceResourceImpl extends AbstractResourceProvider<VariableInstanceQuery,VariableInstance,VariableInstanceDto> implements VariableInstanceResource
- 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 VariableInstanceResourceImpl(String variableId, ProcessEngine engine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VariableInstanceQuery
baseQuery()
protected Query<VariableInstanceQuery,VariableInstance>
baseQueryForBinaryVariable()
Create the query we need for fetching the desired result.protected Query<VariableInstanceQuery,VariableInstance>
baseQueryForVariable(boolean deserializeObjectValue)
TODO change comment Create the query we need for fetching the desired result.protected String
getResourceNameForErrorMessage()
protected TypedValue
transformQueryResultIntoTypedValue(VariableInstance queryResult)
protected VariableInstanceDto
transformToDto(VariableInstance 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.runtime.VariableInstanceResource
getResource, getResourceBinary
-
-
-
-
Constructor Detail
-
VariableInstanceResourceImpl
public VariableInstanceResourceImpl(String variableId, ProcessEngine engine)
-
-
Method Detail
-
baseQuery
protected VariableInstanceQuery baseQuery()
-
baseQueryForBinaryVariable
protected Query<VariableInstanceQuery,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 classAbstractResourceProvider<VariableInstanceQuery,VariableInstance,VariableInstanceDto>
-
baseQueryForVariable
protected Query<VariableInstanceQuery,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 classAbstractResourceProvider<VariableInstanceQuery,VariableInstance,VariableInstanceDto>
-
transformQueryResultIntoTypedValue
protected TypedValue transformQueryResultIntoTypedValue(VariableInstance queryResult)
- Specified by:
transformQueryResultIntoTypedValue
in classAbstractResourceProvider<VariableInstanceQuery,VariableInstance,VariableInstanceDto>
-
transformToDto
protected VariableInstanceDto transformToDto(VariableInstance queryResult)
- Specified by:
transformToDto
in classAbstractResourceProvider<VariableInstanceQuery,VariableInstance,VariableInstanceDto>
-
getResourceNameForErrorMessage
protected String getResourceNameForErrorMessage()
- Specified by:
getResourceNameForErrorMessage
in classAbstractResourceProvider<VariableInstanceQuery,VariableInstance,VariableInstanceDto>
-
-