R
- Class associated with a row in tablepublic class PaginatedListSelector<R> extends AbstractPaginatedListSelector<R>
AbstractPaginatedListSelector
that is implemented with ArrayListSelectOperation
.Constructor and Description |
---|
PaginatedListSelector(int pageSize,
Table<R> table)
Constructs for a page size and table.
|
PaginatedListSelector(int pageSize,
Table<R> table,
boolean scrollSensitive)
Constructs for a page size, table and scroll sensitivity.
|
Modifier and Type | Method and Description |
---|---|
protected ListSelectOperation<R> |
createListSelectOperation() |
getOrderByName, getParameter, getParameters, getTable, getWhereConditionName, setOrderByName, setParameter, setParameters, setWhere
close, confirmExecuted, execute, getPageNumber, getPageSize, init, isScrollSensitive, nextPage, previousPage, selectPage, selectRow, setPageNumber, topOfPage
public PaginatedListSelector(int pageSize, Table<R> table) throws SelectorException
pageSize
- rows per pagetable
- select rows from this tableSelectorException
- if errorpublic PaginatedListSelector(int pageSize, Table<R> table, boolean scrollSensitive) throws SelectorException
pageSize
- rows per pagetable
- select rows from this tablescrollSensitive
- true to use result set type of ResultSet.TYPE_SCROLL_SENSITIVE
,
false to use ResultSet.TYPE_SCROLL_INSENSITIVE
SelectorException
- if errorprotected ListSelectOperation<R> createListSelectOperation() throws java.lang.Exception
createListSelectOperation
in class AbstractPaginatedListSelector<R>
java.lang.Exception