Uses of Class
NTNU.IDATT1002.repository.PageRequest
| Package | Description |
|---|---|
| NTNU.IDATT1002.repository |
DAO classes defined as repositories for persisting data.
|
| NTNU.IDATT1002.service |
Service classes providing high level behaviour,
connecting the controllers with the business logic.
|
-
Uses of PageRequest in NTNU.IDATT1002.repository
Methods in NTNU.IDATT1002.repository that return PageRequest Modifier and Type Method Description PageRequestPage. getPageRequest()Return thePageRequestfor thisPage.PageRequestPageRequest. next()Return the succeedingPageRequest.PageRequestPage. nextPageRequest()Return the nextPageRequest.static PageRequestPageRequest. of(int pageNumber, int pageSize)Create aPageRequestdefined by given page number and page size.static PageRequestPageRequest. of(int pageNumber, int pageSize, Sort sort)Create aPageRequestdefined by given page number and page size, withSort.PageRequestPageRequest. previous()Return the precedingPageRequest.PageRequestPage. previousPageRequest()Return the previousPageRequest.Methods in NTNU.IDATT1002.repository with parameters of type PageRequest Modifier and Type Method Description Page<T>PagingAndSortingRepository. findAll(PageRequest pageRequest)Find all entities specified by givenPageRequest.Constructors in NTNU.IDATT1002.repository with parameters of type PageRequest Constructor Description Page(java.util.List<T> content, PageRequest pageRequest, long total)Create aPageholding given content. -
Uses of PageRequest in NTNU.IDATT1002.service
Methods in NTNU.IDATT1002.service with parameters of type PageRequest Modifier and Type Method Description Page<Album>AlbumService. findAll(PageRequest pageRequest)Retrieve paginated results specified by givenPageRequest.Page<Image>ImageService. findAll(PageRequest pageRequest)Retrieve paginated results specified by givenPageRequest.Page<T>PageableService. findAll(PageRequest pageRequest)Find all entities on page matching givenPageRequest.