Uses of Class
NTNU.IDATT1002.repository.Sort
| Package | Description |
|---|---|
| NTNU.IDATT1002.repository |
DAO classes defined as repositories for persisting data.
|
-
Uses of Sort in NTNU.IDATT1002.repository
Methods in NTNU.IDATT1002.repository that return Sort Modifier and Type Method Description SortSort. ascending()Return aSortin ascending order.static SortSort. by(java.lang.String field)Return aSortby given field.SortSort. descending()Return aSortin descending order.static SortSort. empty()Return aSortwhich does not sort by any field.SortPageRequest. getSort()Return theSort.Methods in NTNU.IDATT1002.repository with parameters of type Sort Modifier and Type Method Description static PageRequestPageRequest. of(int pageNumber, int pageSize, Sort sort)Create aPageRequestdefined by given page number and page size, withSort.Constructors in NTNU.IDATT1002.repository with parameters of type Sort Constructor Description PageRequest(int pageNumber, int pageSize, Sort sort)