public abstract class AbstractResourceProvider<T extends Query<?,U>,U,DTO> extends Object
Modifier and Type | Field and Description |
---|---|
protected ProcessEngine |
engine |
protected String |
id |
Constructor and Description |
---|
AbstractResourceProvider(String detailId,
ProcessEngine engine) |
Modifier and Type | Method and Description |
---|---|
protected abstract Query<T,U> |
baseQueryForBinaryVariable()
Create the query we need for fetching the desired result.
|
protected abstract Query<T,U> |
baseQueryForVariable(boolean deserializeObjectValue)
TODO change comment Create the query we need for fetching the desired
result.
|
protected ProcessEngine |
getEngine() |
protected String |
getId() |
DTO |
getResource(boolean deserializeObjectValue) |
javax.ws.rs.core.Response |
getResourceBinary() |
protected abstract String |
getResourceNameForErrorMessage() |
protected abstract org.camunda.bpm.engine.variable.value.TypedValue |
transformQueryResultIntoTypedValue(U queryResult) |
protected abstract DTO |
transformToDto(U queryResult) |
protected String id
protected ProcessEngine engine
public AbstractResourceProvider(String detailId, ProcessEngine engine)
public DTO getResource(boolean deserializeObjectValue)
public javax.ws.rs.core.Response getResourceBinary()
protected String getId()
protected ProcessEngine getEngine()
protected abstract Query<T,U> baseQueryForBinaryVariable()
protected abstract Query<T,U> baseQueryForVariable(boolean deserializeObjectValue)
deserializeObjectValue
- protected abstract org.camunda.bpm.engine.variable.value.TypedValue transformQueryResultIntoTypedValue(U queryResult)
protected abstract String getResourceNameForErrorMessage()
Copyright © 2017. All rights reserved.