public class DefaultPageableSearchRequest extends Object implements PageableSearchRequest
| Constructor and Description |
|---|
DefaultPageableSearchRequest() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPage() |
int |
getSize() |
String |
getSortBy() |
org.springframework.data.domain.Sort.Direction |
getSortDirection() |
org.springframework.data.domain.Pageable |
resolvePageable() |
void |
setPage(int page) |
void |
setSize(int size) |
void |
setSortBy(String sortBy) |
void |
setSortDirection(org.springframework.data.domain.Sort.Direction sortDirection) |
public int getPage()
getPage in interface PageableSearchRequestpublic void setPage(int page)
public int getSize()
getSize in interface PageableSearchRequestpublic void setSize(int size)
public String getSortBy()
getSortBy in interface PageableSearchRequestpublic void setSortBy(String sortBy)
public org.springframework.data.domain.Sort.Direction getSortDirection()
getSortDirection in interface PageableSearchRequestpublic void setSortDirection(org.springframework.data.domain.Sort.Direction sortDirection)
public org.springframework.data.domain.Pageable resolvePageable()
resolvePageable in interface PageableSearchRequestCopyright © 2019. All rights reserved.