|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AsyncDataLoaderOwner
This interface should be implemented by the class which uses AsyncDataLoader to load items in the background.
| Method Summary | |
|---|---|
void |
allDataLoaded(AsyncDataLoader loader)
This function is called where data loading finished. |
ListOptions |
getInitialListOptions(AsyncDataLoader loader,
ListOptions defaultOptions)
Get the initial ListOptions structure used to load the list of data objects. |
void |
processData(AsyncDataLoader loader,
java.util.List lstDataToAdd,
int iOriginalObjectVersion)
Process data which were asynchronously loaded. |
boolean |
stopLoading(AsyncDataLoader loader)
This method should return true if the async thread should stop loading data. |
| Method Detail |
|---|
ListOptions getInitialListOptions(AsyncDataLoader loader,
ListOptions defaultOptions)
loader - - loader invoking this calldefaultOptions - - default options which can be modified or replaced
with new initial options
boolean stopLoading(AsyncDataLoader loader)
loader - - loader invoking this call
void processData(AsyncDataLoader loader,
java.util.List lstDataToAdd,
int iOriginalObjectVersion)
loader - - loader invoking this calllstDataToAdd - - list of data items to add to the containeriOriginalObjectVersion - - version of the object by which the data
should be processed, which is the version which was used to
construct this object. If the version of the object at the time when
the data are being processed is different from this version, then
the data will not be processed or the processing of the data stops.void allDataLoaded(AsyncDataLoader loader)
loader - - loader invoking this call
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||