Package org.opencms.workplace.list
Interface I_CmsListDirectAction
- All Superinterfaces:
org.opencms.workplace.tools.I_CmsHtmlIconButton
,I_CmsListAction
- All Known Implementing Classes:
A_CmsListDefaultJsAction
,A_CmsListDirectJsAction
,CmsChangeLogLevelAction
,CmsDependencyIconAction
,CmsGroupRemoveAction
,CmsGroupStateAction
,CmsListDefaultAction
,CmsListDirectAction
,CmsListEditResourceAction
,CmsListExplorerDirectAction
,CmsListItemSelectionAction
,CmsListItemSelectionCustomAction
,CmsListOpenResourceAction
,CmsListResourceIconAction
,CmsListResourceLockAction
,CmsListResourceProjStateAction
,CmsListResourceTypeIconAction
,CmsRestoreStateAction
Interface for list direct action, that is an action that may be applied
directly on a list item.
- Since:
- 6.0.0
-
Method Summary
Modifier and TypeMethodDescriptionGenerates a confirmation text div tag, to use in lists where all items use the same confirmation text.Returns the id of the column to use as parameter for the helptext and confirmation message.getItem()
Returns the current item.Generates a help text div tag, to use in lists where all items use the same help text.void
setColumnForTexts
(String columnId) Sets the id of the column to use as parameter for the helptext and confirmation message.void
setItem
(CmsListItem item) Sets the current item, should be called before the
method.I_CmsHtmlIconButton.buttonHtml(org.opencms.workplace.CmsWorkplace)
Methods inherited from interface org.opencms.workplace.tools.I_CmsHtmlIconButton
buttonHtml, getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible
Methods inherited from interface org.opencms.workplace.list.I_CmsListAction
buttonHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setListId, setWp
-
Method Details
-
confirmationTextHtml
Generates a confirmation text div tag, to use in lists where all items use the same confirmation text.- Returns:
- html code
-
getColumnForTexts
Returns the id of the column to use as parameter for the helptext and confirmation message.- Returns:
- the id of the column to use
-
getItem
Returns the current item.- Returns:
- the current item
-
helpTextHtml
Generates a help text div tag, to use in lists where all items use the same help text.- Returns:
- html code
-
setColumnForTexts
Sets the id of the column to use as parameter for the helptext and confirmation message.- Parameters:
columnId
- the id of the column to use
-
setItem
Sets the current item, should be called before the
method.I_CmsHtmlIconButton.buttonHtml(org.opencms.workplace.CmsWorkplace)
- Parameters:
item
- the item
-