Class AbstractQueryDto<T extends Query<?,​?>>

    • Constructor Detail

      • AbstractQueryDto

        public AbstractQueryDto()
      • AbstractQueryDto

        public AbstractQueryDto​(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                javax.ws.rs.core.MultivaluedMap<String,​String> queryParameters)
    • Method Detail

      • setSortBy

        public void setSortBy​(String sortBy)
      • setSortOrder

        public void setSortOrder​(String sortOrder)
      • isValidSortByValue

        protected abstract boolean isValidSortByValue​(String value)
      • sortOptionsValid

        protected boolean sortOptionsValid()
      • createNewQuery

        protected abstract T createNewQuery​(ProcessEngine engine)
      • applyFilters

        protected abstract void applyFilters​(T query)
      • applySortingOptions

        protected void applySortingOptions​(T query,
                                           ProcessEngine engine)
      • applySortOrder

        protected void applySortOrder​(T query,
                                      String sortOrder)
      • sortOrderValueForDirection

        public static String sortOrderValueForDirection​(Direction direction)