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
Modifier and TypeFieldDescriptionstatic final String
The string to delimit key and value.static final String
The string to delimit each column-value pair.static final String
the html id prefix for the input element of the search bar.Fields inherited from class org.opencms.workplace.list.CmsListSearchAction
SEARCH_BAR_INPUT_ID
Fields inherited from class org.opencms.workplace.list.A_CmsListSearchAction
m_defaultShowAllAction, SEARCH_ACTION_ID, SHOWALL_ACTION_ID
Fields inherited from class org.opencms.workplace.list.CmsListIndependentAction
ACTION_EXPLORER_SWITCH_ID
Fields inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
EMPTY_MESSAGE, m_id
-
Constructor Summary
ConstructorDescriptionDefault 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, setWp
Methods inherited from class org.opencms.workplace.list.A_CmsListSearchAction
getShowAllAction, setListId, setShowAllAction, useDefaultShowAllAction
Methods inherited from class org.opencms.workplace.list.CmsListIndependentAction
getDefaultExplorerSwitchAction, resolveOnClic
Methods inherited from class org.opencms.workplace.list.A_CmsListAction
buttonHtml, defaultConfirmationHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage
Methods inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
defaultButtonHtml, defaultButtonHtml, defaultHelpHtml, getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:CmsListSearchAction
Returns the html code for the search bar.- Overrides:
barHtml
in classCmsListSearchAction
- Parameters:
wp
- the workplace context- Returns:
- html code
- See Also:
-
filter
Description copied from class:CmsListSearchAction
Returns a sublist of the given items, that match the given filter string.- Overrides:
filter
in classCmsListSearchAction
- Parameters:
items
- the items to filtersearchFilter
- the string to filter- Returns:
- the filtered sublist
- See Also:
-