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