com.interface21.util
Interface PagedListSourceProvider
- public interface PagedListSourceProvider
Callback that provides the source for a reloadable List.
Used by RefreshablePagedListHolder.
- Author:
- Jean-Pierre PAWLAK, Juergen Hoeller
- See Also:
RefreshablePagedListHolder.setSourceProvider(com.interface21.util.PagedListSourceProvider)
|
Method Summary |
java.util.List |
loadList(java.util.Locale locale,
java.lang.Object filter)
Load the List for the given Locale and filter settings.
|
loadList
public java.util.List loadList(java.util.Locale locale,
java.lang.Object filter)
- Load the List for the given Locale and filter settings.
The filter object can be of any custom class, preferably a bean
for easy data binding from a request. An instance will simply
get passed through to this callback method.
- Parameters:
locale - Locale that the List should be loaded for,
or null if not locale-specificfilter - object representing filter settings,
or null if no filter options are used- Returns:
- the loaded List
- See Also:
RefreshablePagedListHolder.setLocale(java.util.Locale),
RefreshablePagedListHolder.setFilter(java.lang.Object)
Rod Johnson and Spring contributors 2001-2003.