public interface Pagination
Modifier and Type | Method and Description |
---|---|
ProductPage |
getFirstPage(ProductType type) |
ProductPage |
getLastProductPage(ProductType type) |
ProductPage |
getNextPage(ProductType type,
ProductPage currentPage) |
ProductPage |
getPrevPage(ProductType type,
ProductPage currentPage) |
ProductPage getFirstPage(ProductType type)
type
- The ProductType to obtain the first ProductPage
for.ProductType
.ProductPage getLastProductPage(ProductType type)
type
- The ProductType to obtain the last ProductPage
for.ProductType
.ProductPage getNextPage(ProductType type, ProductPage currentPage)
type
- The ProductType to obtain the next page for, given the
currentPage
.currentPage
- The current page that tells the function what the next page to
obtain is.ProductPage getPrevPage(ProductType type, ProductPage currentPage)
type
- The ProductType to obtain the previous page for, given the
currentPage
.currentPage
- The currentPage that tells the function what the previous page
to obtain is.Copyright © 1999–2017 Apache OODT. All rights reserved.