Package org.opencms.workplace.list
Class CmsListMultiSearchAction
java.lang.Object
org.opencms.workplace.tools.A_CmsHtmlIconButton
org.opencms.workplace.list.A_CmsListAction
org.opencms.workplace.list.CmsListIndependentAction
org.opencms.workplace.list.A_CmsListSearchAction
org.opencms.workplace.list.CmsListSearchAction
org.opencms.workplace.list.CmsListMultiSearchAction
- All Implemented Interfaces:
I_CmsListAction,org.opencms.workplace.tools.I_CmsHtmlIconButton
Displays an advanced search form over several columns.
- Since:
- 7.6
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe string to delimit key and value.static final StringThe string to delimit each column-value pair.static final Stringthe html id prefix for the input element of the search bar.Fields inherited from class org.opencms.workplace.list.CmsListSearchAction
SEARCH_BAR_INPUT_IDFields inherited from class org.opencms.workplace.list.A_CmsListSearchAction
m_defaultShowAllAction, SEARCH_ACTION_ID, SHOWALL_ACTION_IDFields inherited from class org.opencms.workplace.list.CmsListIndependentAction
ACTION_EXPLORER_SWITCH_IDFields inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
EMPTY_MESSAGE, m_id -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor. -
Method Summary
Modifier and TypeMethodDescriptionbarHtml(org.opencms.workplace.CmsWorkplace wp) Returns the html code for the search bar.filter(List<CmsListItem> items, String searchFilter) Returns a sublist of the given items, that match the given filter string.Methods inherited from class org.opencms.workplace.list.CmsListSearchAction
addColumn, buttonHtml, getColumns, isCaseInSensitive, setCaseInSensitive, setSearchFilter, setWpMethods inherited from class org.opencms.workplace.list.A_CmsListSearchAction
getShowAllAction, setListId, setShowAllAction, useDefaultShowAllActionMethods inherited from class org.opencms.workplace.list.CmsListIndependentAction
getDefaultExplorerSwitchAction, resolveOnClicMethods inherited from class org.opencms.workplace.list.A_CmsListAction
buttonHtml, defaultConfirmationHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessageMethods inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
defaultButtonHtml, defaultButtonHtml, defaultHelpHtml, getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencms.workplace.tools.I_CmsHtmlIconButton
getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible
-
Field Details
-
KEY_VAL_DELIM
The string to delimit key and value.- See Also:
-
PARAM_DELIM
The string to delimit each column-value pair.- See Also:
-
SEARCH_COL_INPUT_ID
the html id prefix for the input element of the search bar.- See Also:
-
-
Constructor Details
-
CmsListMultiSearchAction
Default constructor.- Parameters:
column- the first column to search in- See Also:
-
-
Method Details
-
barHtml
Description copied from class:CmsListSearchActionReturns the html code for the search bar.- Overrides:
barHtmlin classCmsListSearchAction- Parameters:
wp- the workplace context- Returns:
- html code
- See Also:
-
filter
Description copied from class:CmsListSearchActionReturns a sublist of the given items, that match the given filter string.- Overrides:
filterin classCmsListSearchAction- Parameters:
items- the items to filtersearchFilter- the string to filter- Returns:
- the filtered sublist
- See Also:
-