Uses of Class
org.springframework.data.domain.PageRequest
Package
Description
Central domain abstractions especially to be used in combination with the
Repository
abstraction.-
Uses of PageRequest in org.springframework.data.domain
Modifier and TypeMethodDescriptionPageRequest.first()
PageRequest.next()
static PageRequest
PageRequest.of
(int pageNumber, int pageSize) Creates a new unsortedPageRequest
.static PageRequest
Creates a newPageRequest
with sort parameters applied.static PageRequest
PageRequest.of
(int pageNumber, int pageSize, Sort.Direction direction, String... properties) Creates a newPageRequest
with sort direction and properties applied.static PageRequest
PageRequest.ofSize
(int pageSize) PageRequest.previous()
PageRequest.withPage
(int pageNumber) Creates a newPageRequest
withpageNumber
applied.Creates a newPageRequest
withSort
applied.PageRequest.withSort
(Sort.Direction direction, String... properties)