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
FieldsModifier and TypeFieldDescriptionfinal I_CmsListActionA default show all action.static final StringThe action id for the search action.static final StringThe action id for the show all action.Fields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuttonHtml(org.opencms.workplace.CmsWorkplace wp) Returns the Show-All action.voidSets the list id.voidsetShowAllAction(I_CmsListAction showAllAction) Sets the Show-All action.voidSets the current used show-all action to the default.Methods inherited from class org.opencms.workplace.list.CmsListIndependentAction
getDefaultExplorerSwitchAction, resolveOnClicMethods inherited from class org.opencms.workplace.list.A_CmsListAction
buttonHtml, defaultConfirmationHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setWpMethods 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
-
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:
buttonHtmlin interfaceorg.opencms.workplace.tools.I_CmsHtmlIconButton- Overrides:
buttonHtmlin classCmsListIndependentAction- See Also:
-
getShowAllAction
Returns the Show-All action.- Returns:
- the Show-All action
-
setListId
Description copied from interface:I_CmsListActionSets the list id.- Specified by:
setListIdin interfaceI_CmsListAction- Overrides:
setListIdin 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.
-