Class AbstractRestQueryParametersDto<T>

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MetricsAggregatedQueryDto

public abstract class AbstractRestQueryParametersDto<T> extends QueryParameters
See Also:
  • Field Details

  • Constructor Details

    • AbstractRestQueryParametersDto

      public AbstractRestQueryParametersDto()
    • AbstractRestQueryParametersDto

      public AbstractRestQueryParametersDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, 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)