public abstract class LazyPagedDataModel<Entity> extends PagedListDataModel<Entity>
| Constructor and Description |
|---|
LazyPagedDataModel(PagedResult<Entity> pagedResult) |
| Modifier and Type | Method and Description |
|---|---|
void |
alterCurrentPage(Integer numPage) |
abstract PagedResult<Entity> |
findElements(Page page) |
int |
getRowCount() |
Entity |
getRowData() |
Long |
getTotalPage() |
boolean |
isRowAvailable() |
getCurrentPage, getPage, setPage, setWrappedDatagetRowIndex, getWrappedData, setRowIndexaddDataModelListener, getDataModelListeners, iterator, removeDataModelListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic LazyPagedDataModel(PagedResult<Entity> pagedResult)
public void alterCurrentPage(Integer numPage)
alterCurrentPage in class PagedListDataModel<Entity>public abstract PagedResult<Entity> findElements(Page page)
public boolean isRowAvailable()
isRowAvailable in class PagedListDataModel<Entity>public Entity getRowData()
getRowData in class PagedListDataModel<Entity>public Long getTotalPage()
getTotalPage in class PagedListDataModel<Entity>public int getRowCount()
getRowCount in class javax.faces.model.ListDataModel<Entity>Copyright © 2015. All Rights Reserved.