public class SpringPageRequestImpl extends org.springframework.data.domain.PageRequest implements SpringPageRequest
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
extensions |
protected String |
query |
| Constructor and Description |
|---|
SpringPageRequestImpl(int pageNumber,
int pageSize,
org.springframework.data.domain.Sort sort,
String query,
Map<String,Object> extensions)
Creates a
PageRequest with the additional attributes of a
PageRequestDto. |
SpringPageRequestImpl(int pageNumber,
int pageSize,
String query,
Map<String,Object> extensions)
Creates a
PageRequest with the additional attributes of a
PageRequestDto. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getExtensions()
Returns custom extensions (may be
null). |
String |
getQuery()
Returns the search query (may be
null). |
equals, first, getSort, hashCode, next, previous, toStringgetOffset, getPageNumber, getPageSize, hasPrevious, previousOrFirstpublic SpringPageRequestImpl(int pageNumber,
int pageSize,
String query,
Map<String,Object> extensions)
PageRequest with the additional attributes of a
PageRequestDto.pageNumber - the page numberpageSize - the page sizequery - the queryextensions - the extensionspublic SpringPageRequestImpl(int pageNumber,
int pageSize,
org.springframework.data.domain.Sort sort,
String query,
Map<String,Object> extensions)
PageRequest with the additional attributes of a
PageRequestDto.pageNumber - the page numberpageSize - the page sizesort - the sort (can be null)query - the queryextensions - the extensionspublic String getQuery()
SpringPageRequestnull).getQuery in interface SpringPageRequestpublic Map<String,Object> getExtensions()
SpringPageRequestnull).getExtensions in interface SpringPageRequestCopyright © 2017 bremersee.org. All rights reserved.