public class DataTableModel extends Object
| Constructor and Description |
|---|
DataTableModel() |
DataTableModel(Page<?> page) |
| Modifier and Type | Method and Description |
|---|---|
Page<Object> |
buildPage() |
String |
getDir() |
int |
getPageSize() |
Collection<?> |
getRecords() |
String |
getSort() |
int |
getStartIndex() |
int |
getTotalRecords() |
void |
setDir(String dir) |
void |
setPageSize(int pageSize) |
void |
setRecords(Collection<?> records) |
void |
setSort(String sort) |
void |
setStartIndex(int startIndex) |
void |
setTotalRecords(int totalRecords) |
public DataTableModel()
public DataTableModel(Page<?> page)
page - public int getTotalRecords()
public void setTotalRecords(int totalRecords)
totalRecords - the totalRecords to setpublic int getStartIndex()
public void setStartIndex(int startIndex)
startIndex - the startIndex to setpublic String getSort()
public void setSort(String sort)
sort - the sort to setpublic String getDir()
public void setDir(String dir)
dir - the dir to setpublic Collection<?> getRecords()
public void setRecords(Collection<?> records)
records - the records to setpublic int getPageSize()
public void setPageSize(int pageSize)
pageSize - the pageSize to setCopyright © 2014 JDAL. All Rights Reserved.