org.camunda.bpm.engine.rest.dto
Class AbstractSearchQueryDto

java.lang.Object
  extended by org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
Direct Known Subclasses:
AbstractQueryDto, AbstractReportDto

public abstract class AbstractSearchQueryDto
extends Object

Author:
Roman Smirnov

Field Summary
protected  com.fasterxml.jackson.databind.ObjectMapper objectMapper
           
 
Constructor Summary
AbstractSearchQueryDto()
           
AbstractSearchQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<String,String> queryParameters)
           
 
Method Summary
 void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
protected  void setValueBasedOnAnnotation(String key, String value)
          Finds the methods that are annotated with a CamundaQueryParam with a value that matches the key parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectMapper

protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
Constructor Detail

AbstractSearchQueryDto

public AbstractSearchQueryDto()

AbstractSearchQueryDto

public AbstractSearchQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                              javax.ws.rs.core.MultivaluedMap<String,String> queryParameters)
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 a CamundaQueryParam with a value that matches the key parameter. Before invoking these methods, the annotated StringToTypeConverter is used to convert the String value to the desired Java type.

Parameters:
key -
value -


Copyright © 2016 camunda services GmbH. All rights reserved.