public class DefaultPaginationInfo extends java.lang.Object implements PaginationInfo
PaginationInfo.PaginationInfo| Constructor and Description |
|---|
DefaultPaginationInfo() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentPage()
Get the current page, starting from 0
|
int |
getPageSize()
Get the number of products in a page
|
int |
getTotalPages()
Get the total number of pages, starting from 1
|
int |
getTotalResults()
Get the total number of results
|
void |
setCurrentPage(int currentPage) |
void |
setPageSize(int pageSize) |
void |
setTotalPages(int totalPages) |
void |
setTotalResults(int totalResults) |
public int getPageSize()
getPageSize in interface PaginationInfopublic int getCurrentPage()
getCurrentPage in interface PaginationInfopublic int getTotalPages()
getTotalPages in interface PaginationInfopublic int getTotalResults()
getTotalResults in interface PaginationInfopublic void setPageSize(int pageSize)
public void setCurrentPage(int currentPage)
public void setTotalPages(int totalPages)
public void setTotalResults(int totalResults)
Copyright © 2010 - 2023 Adobe. All Rights Reserved