站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

PagedListSourceProvider (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

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)

Method Summary
 List loadList(Locale locale, Object filter)
          Load the List for the given Locale and filter settings.
 

Method Detail

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-specific
filter - 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)

The Spring Framework

Copyright © 2002-2007 The Spring Framework.