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 PageRequest
Page. getPageRequest()
Return thePageRequest
for thisPage
.PageRequest
PageRequest. next()
Return the succeedingPageRequest
.PageRequest
Page. nextPageRequest()
Return the nextPageRequest
.static PageRequest
PageRequest. of(int pageNumber, int pageSize)
Create aPageRequest
defined by given page number and page size.static PageRequest
PageRequest. of(int pageNumber, int pageSize, Sort sort)
Create aPageRequest
defined by given page number and page size, withSort
.PageRequest
PageRequest. previous()
Return the precedingPageRequest
.PageRequest
Page. 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 aPage
holding 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
.