Class AbstractRestQueryParametersDto<T>

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbstractProcessInstanceQueryDto, IncidentQueryDto, ProcessDefinitionQueryDto, ProcessDefinitionStatisticsQueryDto

public abstract class AbstractRestQueryParametersDto<T> extends QueryParameters
Author:
roman.smirnov
See Also:
  • Field Details

  • Constructor Details

    • AbstractRestQueryParametersDto

      public AbstractRestQueryParametersDto()
    • AbstractRestQueryParametersDto

      public AbstractRestQueryParametersDto(jakarta.ws.rs.core.MultivaluedMap<String,String> queryParameters)
  • Method Details

    • setSortBy

      public void setSortBy(String sortBy)
    • setSortOrder

      public void setSortOrder(String sortOrder)
    • sortOptionsValid

      protected boolean sortOptionsValid()
    • getInternalOrderBy

      public String getInternalOrderBy()
    • getOrderBy

      @Deprecated public String getOrderBy()
      Deprecated.
    • getOrderByValue

      protected abstract String getOrderByValue(String sortBy)
    • isValidSortByValue

      protected abstract boolean isValidSortByValue(String value)
    • resolveVariableValue

      protected Object resolveVariableValue(Object value)
    • 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 -
    • setObjectMapper

      public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)