public final class PageHandler extends Object implements TotalRowHandler
| Constructor and Description |
|---|
PageHandler(List<?> list) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getRows() |
int |
getTotal() |
void |
handleRow(Object valueObject)
Handles a single row of a result set.
|
int |
handleTotal(int delta) |
void |
setTotal(int total) |
public PageHandler(List<?> list)
public void handleRow(Object valueObject)
RowHandlerhandleRow in interface RowHandlervalueObject - The object representing a single row from the query.SqlMapSessionpublic int handleTotal(int delta)
handleTotal in interface TotalRowHandlerpublic int getTotal()
public void setTotal(int total)
public Integer getRows()
getRows in interface RowHandlerCopyright © 2084–2018 dukeware.com. All rights reserved.