|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface IDataSource.IQuery
Specifies the subset of data to be loaded.
| Field Summary | |
|---|---|
static long |
UNKNOWN_TOTAL_COUNT
Constant that represents unknown row count returned by getTotalCount() |
| Method Summary | ||
|---|---|---|
long |
getCount()
Returns the amount of items to be loaded. |
|
long |
getFrom()
Returns the index of first item to be loaded |
|
|
getSortState()
Returns the IGridSortState that can be used to determine which sortable columns
have been used to sort the table. |
|
long |
getTotalCount()
Returns the total amount of rows or UNKNOWN_TOTAL_COUNT if the amount of rows is
not known yet. |
|
| Field Detail |
|---|
static final long UNKNOWN_TOTAL_COUNT
getTotalCount()
| Method Detail |
|---|
long getFrom()
long getCount()
IDataSource.IQueryResult.setTotalCount(long) before calling this method or the previous
call to IDataSource.query(IDataSource.IQuery, IDataSource.IQueryResult) set
IDataSource.IQueryResult.NO_MORE_ITEMS as total count), this method will return the exact
amount of required rows. If the total amount of rows is not known, it will always return
the number of items per page.
long getTotalCount()
UNKNOWN_TOTAL_COUNT if the amount of rows is
not known yet.
<S> IGridSortState<S> getSortState()
IGridSortState that can be used to determine which sortable columns
have been used to sort the table.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||