org.camunda.bpm.engine.rest.sub.runtime.impl
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableInstanceResourceImpl
public VariableInstanceResourceImpl(String variableId,
ProcessEngine engine)
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 class AbstractResourceProvider<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 class AbstractResourceProvider<VariableInstanceQuery,VariableInstance,VariableInstanceDto>
transformQueryResultIntoTypedValue
protected org.camunda.bpm.engine.variable.value.TypedValue transformQueryResultIntoTypedValue(VariableInstance queryResult)
- Specified by:
transformQueryResultIntoTypedValue in class AbstractResourceProvider<VariableInstanceQuery,VariableInstance,VariableInstanceDto>
transformToDto
protected VariableInstanceDto transformToDto(VariableInstance queryResult)
- Specified by:
transformToDto in class AbstractResourceProvider<VariableInstanceQuery,VariableInstance,VariableInstanceDto>
getResourceNameForErrorMessage
protected String getResourceNameForErrorMessage()
- Specified by:
getResourceNameForErrorMessage in class AbstractResourceProvider<VariableInstanceQuery,VariableInstance,VariableInstanceDto>
Copyright © 2016 camunda services GmbH. All rights reserved.