Interface PagedListSourceProvider

public interface PagedListSourceProvider

Callback that provides the source for a reloadable List. Used by RefreshablePagedListHolder.

Jean-Pierre PAWLAK, Juergen Hoeller
See Also:

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

Method Detail


public 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.

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
the loaded List
See Also:
RefreshablePagedListHolder.setLocale(java.util.Locale), RefreshablePagedListHolder.setFilter(java.lang.Object)

Copyright (C) 2003-2004 The Spring Framework Project.