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
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.rest.sub.AbstractResourceProvider
engine, id
-
-
Constructor Summary
Constructors Constructor Description VariableInstanceResourceImpl(String variableId, org.camunda.bpm.engine.ProcessEngine engine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.camunda.bpm.engine.runtime.VariableInstanceQuerybaseQuery()protected org.camunda.bpm.engine.query.Query<org.camunda.bpm.engine.runtime.VariableInstanceQuery,org.camunda.bpm.engine.runtime.VariableInstance>baseQueryForBinaryVariable()Create the query we need for fetching the desired result.protected org.camunda.bpm.engine.query.Query<org.camunda.bpm.engine.runtime.VariableInstanceQuery,org.camunda.bpm.engine.runtime.VariableInstance>baseQueryForVariable(boolean deserializeObjectValue)TODO change comment Create the query we need for fetching the desired result.protected StringgetResourceNameForErrorMessage()protected org.camunda.bpm.engine.variable.value.TypedValuetransformQueryResultIntoTypedValue(org.camunda.bpm.engine.runtime.VariableInstance queryResult)protected VariableInstanceDtotransformToDto(org.camunda.bpm.engine.runtime.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, org.camunda.bpm.engine.ProcessEngine engine)
-
-
Method Detail
-
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: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.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: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.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:
transformQueryResultIntoTypedValuein classAbstractResourceProvider<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:
transformToDtoin classAbstractResourceProvider<org.camunda.bpm.engine.runtime.VariableInstanceQuery,org.camunda.bpm.engine.runtime.VariableInstance,VariableInstanceDto>
-
getResourceNameForErrorMessage
protected String getResourceNameForErrorMessage()
- Specified by:
getResourceNameForErrorMessagein classAbstractResourceProvider<org.camunda.bpm.engine.runtime.VariableInstanceQuery,org.camunda.bpm.engine.runtime.VariableInstance,VariableInstanceDto>
-
-