Package org.opencms.workplace.list
Class A_CmsListSearchAction
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
- All Implemented Interfaces:
I_CmsListAction
,org.opencms.workplace.tools.I_CmsHtmlIconButton
- Direct Known Subclasses:
CmsListSearchAction
Abstract implementation of a search action.
It provides the default show all action accessor and the rendering method.
- Since:
- 6.0.0
-
Field Summary
Modifier and TypeFieldDescriptionfinal I_CmsListAction
A default show all action.static final String
The action id for the search action.static final String
The action id for the show all action.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
-
Method Summary
Modifier and TypeMethodDescriptionbuttonHtml
(org.opencms.workplace.CmsWorkplace wp) Returns the Show-All action.void
Sets the list id.void
setShowAllAction
(I_CmsListAction showAllAction) Sets the Show-All action.void
Sets the current used show-all action to the default.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, setWp
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
-
SEARCH_ACTION_ID
The action id for the search action.- See Also:
-
SHOWALL_ACTION_ID
The action id for the show all action.- See Also:
-
m_defaultShowAllAction
A default show all action.
-
-
Constructor Details
-
A_CmsListSearchAction
protected A_CmsListSearchAction()Default Constructor.
-
-
Method Details
-
buttonHtml
- Specified by:
buttonHtml
in interfaceorg.opencms.workplace.tools.I_CmsHtmlIconButton
- Overrides:
buttonHtml
in classCmsListIndependentAction
- See Also:
-
I_CmsHtmlIconButton.buttonHtml(CmsWorkplace)
-
getShowAllAction
Returns the Show-All action.- Returns:
- the Show-All action
-
setListId
Description copied from interface:I_CmsListAction
Sets the list id.- Specified by:
setListId
in interfaceI_CmsListAction
- Overrides:
setListId
in classA_CmsListAction
- Parameters:
listId
- the id of the list to set- See Also:
-
setShowAllAction
Sets the Show-All action.- Parameters:
showAllAction
- the Show-All action to set
-
useDefaultShowAllAction
Sets the current used show-all action to the default.
-