Class QueryParam

    • Constructor Detail

      • QueryParam

        public QueryParam​(long first,
                          long count)
        Set to return count elements, starting at the first element.
        Parameters:
        first - First element to return.
        count - Number of elements to return.
      • QueryParam

        public QueryParam​(long first,
                          long count,
                          String sort,
                          boolean sortAsc)
        Set to return count sorted elements, starting at the first element.
        Parameters:
        first - First element to return.
        count - Number of elements to return.
        sort - Column to sort on.
        sortAsc - Sort ascending or descending.
    • Method Detail

      • setSort

        public void setSort​(String sort)
      • setSortAsc

        public void setSortAsc​(boolean sortAsc)
      • getCount

        public long getCount()
      • getFirst

        public long getFirst()
      • getSort

        public String getSort()
      • isSortAsc

        public boolean isSortAsc()
      • hasSort

        public boolean hasSort()
      • setFirst

        public void setFirst​(long first)
      • setCount

        public void setCount​(long count)