public class PaginationInput
extends java.lang.Object
Constructor and Description |
---|
PaginationInput() |
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,java.lang.String> |
getFilterCriteria() |
int |
getItemsPerPage() |
int |
getRequestedPage() |
void |
setFilterCriteria(java.util.HashMap<java.lang.String,java.lang.String> filterCriteria) |
void |
setItemsPerPage(int itemsPerPage)
Sets the count of items per page, such that the calculation for which items occur
in which page is done based on this count.
|
void |
setRequestedPage(int requestedPage)
Sets the requested page such that a service only returns
all items that occur in the specified page of the full result set.
|
public void setRequestedPage(int requestedPage)
requestedPage
- - zero or negative value means return all results without pagination.public void setItemsPerPage(int itemsPerPage)
itemsPerPage
- - ignored when requestedPage is zero or negative.public int getRequestedPage()
public int getItemsPerPage()
public java.util.HashMap<java.lang.String,java.lang.String> getFilterCriteria()
public void setFilterCriteria(java.util.HashMap<java.lang.String,java.lang.String> filterCriteria)