Package org.camunda.bpm.engine.rest.dto
Class AbstractSearchQueryDto
java.lang.Object
org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
- Direct Known Subclasses:
AbstractQueryDto
,AbstractReportDto
- Author:
- Roman Smirnov
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
ConstructorDescriptionAbstractSearchQueryDto
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, jakarta.ws.rs.core.MultivaluedMap<String, String> queryParameters) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Field Details
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
AbstractSearchQueryDto
public AbstractSearchQueryDto() -
AbstractSearchQueryDto
-
-
Method Details
-
setObjectMapper
public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
setValueBasedOnAnnotation
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
-
-