Package | Description |
---|---|
org.springframework.data.domain |
Central domain abstractions especially to be used in combination with the
Repository abstraction. |
Modifier and Type | Method and Description |
---|---|
static PageRequest |
PageRequest.of(int page,
int size)
Creates a new unsorted
PageRequest . |
static PageRequest |
PageRequest.of(int page,
int size,
Sort.Direction direction,
String... properties)
Creates a new
PageRequest with sort direction and properties applied. |
static PageRequest |
PageRequest.of(int page,
int size,
Sort sort)
Creates a new
PageRequest with sort parameters applied. |
PageRequest |
PageRequest.previous() |
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.