|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.boylesoftware.cb2.FetchResultDescriptor
Descriptor or a result set processed by a DAO fetch call. An instance of this class can be passed to certain DAO fetch methods and after the method returns, the instance will contain additional information about the result set. This works only when a paginated result is requested and allows to find out such information as how many rows there were in the whole result set, not only the requested page.
DAO.fetch(String, Set, Object [], String [], int, int, int, FetchResultProcessorHandler [], FetchResultDescriptor)
,
DAO.executeFetch(Class, String, Object [], int, int, FetchResultProcessorHandler [], FetchResultDescriptor)
,
Serialized FormConstructor Summary | |
FetchResultDescriptor()
|
Method Summary | |
int |
getRowsTotal()
Gets total number of rows in the result set, not only in the requested page, |
void |
setRowsTotal(int rowsTotal)
Sets the rowsTotal property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FetchResultDescriptor()
Method Detail |
public int getRowsTotal()
public void setRowsTotal(int rowsTotal)
rowsTotal
property. Can be used from within DAO
plugins, namely a FetchExecutor
plugin.
rowsTotal
- new value for rowsTotal
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |