Class AbstractRestQueryParametersDto<T>

    • Constructor Detail

      • AbstractRestQueryParametersDto

        public AbstractRestQueryParametersDto()
      • AbstractRestQueryParametersDto

        public AbstractRestQueryParametersDto​(javax.ws.rs.core.MultivaluedMap<String,​String> queryParameters)
    • Method Detail

      • setSortBy

        public void setSortBy​(String sortBy)
      • setSortOrder

        public void setSortOrder​(String sortOrder)
      • sortOptionsValid

        protected boolean sortOptionsValid()
      • getInternalOrderBy

        public String getInternalOrderBy()
      • 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)