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 java.lang.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<java.lang.String,java.lang.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(java.lang.String key, java.lang.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(java.lang.String key, java.lang.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
-
-
-