org.opencms.workplace.list
Interface I_CmsSearchMethod
- All Superinterfaces:
- I_CmsHtmlIconButton, I_CmsListAction
- All Known Implementing Classes:
- CmsListSearchAction
- public interface I_CmsSearchMethod
- extends I_CmsListAction
Defines a search action, that is a list action with an additional method for filtering.
- Since:
- 6.0.0
- Version:
- $Revision: 1.7 $
- Author:
- Michael Moossen
Method Summary |
java.util.List |
filter(java.util.List items,
java.lang.String filter)
Returns a sublist of the given items, that match the filter string. |
Methods inherited from interface org.opencms.workplace.tools.I_CmsHtmlIconButton |
buttonHtml, getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible |
filter
public java.util.List filter(java.util.List items,
java.lang.String filter)
- Returns a sublist of the given items, that match the filter string.
- Parameters:
items
- the items to filterfilter
- the filter string
- Returns:
- the filtered sublist