public interface EagerProvider<T> extends DataProvider<T>
DataProvider that loads all the data eagerly and store it locally on client browserDataProvider.DataHandler<T>, DataProvider.DataReader<T>| Modifier and Type | Method and Description |
|---|---|
Array<T> |
getData()
Retrieve all data loaded into this
DataProvider |
EagerDataLoader<T> |
getDataLoader()
Retrieve the
EagerDataLoader used to load data |
void |
setDataLoader(EagerDataLoader<T> dataLoader)
Inform an
EagerDataLoader to be used to load data |
add, add, addDataChangedHandler, addDataLoadedHandler, addDataSortedHandler, addLoadStoppedHandler, addResetHandler, addTransactionEndHandler, addTransactionStartHandler, commit, filter, first, get, get, getNewRecords, getRecord, getRemovedRecords, getSelectedRecords, getUpdatedRecords, hasNext, hasPrevious, indexOf, isDirty, isLoaded, load, next, previous, read, read, remove, reset, rollback, select, select, set, setData, setData, setData, setReadOnly, setReadOnly, sort, stopLoadingvoid setDataLoader(EagerDataLoader<T> dataLoader)
EagerDataLoader to be used to load datadataLoader - loaderEagerDataLoader<T> getDataLoader()
EagerDataLoader used to load dataArray<T> getData()
DataProviderCopyright © 2015. All rights reserved.