Package org.camunda.bpm.engine.rest.dto
Class AbstractSearchQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- Direct Known Subclasses:
AbstractQueryDto
,AbstractReportDto
public abstract class AbstractSearchQueryDto extends Object
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
Constructor Summary
Constructors Constructor Description AbstractSearchQueryDto()
AbstractSearchQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<String,String> queryParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
protected void
setValueBasedOnAnnotation(String key, String value)
Finds the methods that are annotated with aCamundaQueryParam
with a value that matches the key parameter.
-
-
-
Method Detail
-
setObjectMapper
public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
setValueBasedOnAnnotation
protected void setValueBasedOnAnnotation(String key, String value)
Finds the methods that are annotated with aCamundaQueryParam
with a value that matches the key parameter. Before invoking these methods, the annotatedStringToTypeConverter
is used to convert the String value to the desired Java type.- Parameters:
key
-value
-
-
-