public abstract class PaginationHelper
extends java.lang.Object
Constructor and Description |
---|
PaginationHelper() |
PaginationHelper(int pageSize) |
Modifier and Type | Method and Description |
---|---|
abstract javax.faces.model.DataModel |
createPageDataModel() |
void |
firstPage() |
abstract int |
getItemsCount() |
int |
getPageFirstItem() |
int |
getPageLastItem() |
int |
getPageSize() |
boolean |
isHasNextPage() |
boolean |
isHasPreviousPage() |
void |
lastPage() |
void |
nextPage() |
void |
previousPage() |
public PaginationHelper(int pageSize)
public PaginationHelper()
public abstract int getItemsCount()
public abstract javax.faces.model.DataModel createPageDataModel()
public int getPageFirstItem()
public int getPageLastItem()
public boolean isHasNextPage()
public void nextPage()
public void firstPage()
public void lastPage()
public boolean isHasPreviousPage()
public void previousPage()
public int getPageSize()