public class PageInfoCtx
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Integer |
DEFAULT_PAGE_SIZE |
static java.lang.String |
DEFAULT_SORT_ORDER |
static boolean |
DEFAULT_SUBTYPES |
| Constructor and Description |
|---|
PageInfoCtx() |
PageInfoCtx(java.lang.Integer pageNumber,
java.lang.Integer pageSize,
java.lang.String sortProperty,
java.lang.String query,
boolean subtypes) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCollectionPropertyName() |
java.lang.Integer |
getPageNumber() |
java.lang.Integer |
getPageSize() |
java.lang.String |
getQuery() |
java.lang.String |
getSortProperty() |
int |
getTotalSize() |
boolean |
isDescending() |
boolean |
isSubtypes() |
void |
setCollectionPropertyName(java.lang.String collectionPropertyName) |
void |
setDescending(boolean descending) |
void |
setPageNumber(java.lang.Integer pageNumber) |
void |
setPageSize(java.lang.Integer pageSize) |
void |
setQuery(java.lang.String query) |
void |
setSortProperty(java.lang.String sortProperty) |
void |
setSubtypes(boolean subtypes) |
void |
setTotalSize(int totalSize) |
public static final java.lang.Integer DEFAULT_PAGE_SIZE
public static final java.lang.String DEFAULT_SORT_ORDER
public static final boolean DEFAULT_SUBTYPES
public PageInfoCtx()
public PageInfoCtx(java.lang.Integer pageNumber,
java.lang.Integer pageSize,
java.lang.String sortProperty,
java.lang.String query,
boolean subtypes)
public java.lang.Integer getPageNumber()
public void setPageNumber(java.lang.Integer pageNumber)
pageNumber - the pageNumber to setpublic java.lang.Integer getPageSize()
public void setPageSize(java.lang.Integer pageSize)
pageSize - the pageSize to setpublic java.lang.String getSortProperty()
public final void setSortProperty(java.lang.String sortProperty)
sortProperty - the sortProperty to setpublic int getTotalSize()
public void setTotalSize(int totalSize)
totalSize - the totalSize to setpublic boolean isDescending()
public void setDescending(boolean descending)
descending - the descending to setpublic void setQuery(java.lang.String query)
query - the query to setpublic java.lang.String getQuery()
public void setSubtypes(boolean subtypes)
subtypes - the subtypes to setpublic boolean isSubtypes()
public void setCollectionPropertyName(java.lang.String collectionPropertyName)
collectionPropertyName - the collectionPropertyName to setpublic java.lang.String getCollectionPropertyName()
Copyright © 2018 SAP SE. All Rights Reserved.