当前页面:
在线文档首页 >
Spring Framework 2.0.5 API 文档英文版
PagedListSourceProvider (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版
org.springframework.beans.support
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(org.springframework.beans.support.PagedListSourceProvider)
loadList
List loadList(Locale locale,
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)
Copyright © 2002-2007 The Spring Framework.