public interface DynObjectPagingHelper extends PagingCalculator
PagingCalculator.Sizeable
DEFAULT_PAGE_SIZE
Modifier and Type | Method and Description |
---|---|
DynObject[] |
getCurrentPageDynObjects()
Returns all the values of the current loaded page.
|
DynObject |
getDynObjectAt(long index)
Returns the
DynObject located at the index position. |
DynObjectSet |
getDynObjectSet()
Returns the
DynObjectSet used to fetch the data. |
void |
reload()
Reloads everything.
|
void |
reloadCurrentPage()
Reloads the current page of data from the set.
|
getCurrentPage, getCurrentPageSize, getInitialIndex, getMaxPageSize, getNumPages, getTotalSize, setCurrentPage, setMaxPageSize
DynObject getDynObjectAt(long index) throws BaseException
DynObject
located at the index position.index
- to locate the DynObject in the setBaseException
- if there is an error getting the DynObjectDynObject[] getCurrentPageDynObjects()
DynObjectSet getDynObjectSet()
DynObjectSet
used to fetch the data.void reloadCurrentPage() throws BaseException
BaseException
- if there is an error reloading the current pagevoid reload() throws BaseException
BaseException