Package org.opencms.workplace.list
Class A_CmsListAction
java.lang.Object
org.opencms.workplace.tools.A_CmsHtmlIconButton
org.opencms.workplace.list.A_CmsListAction
- All Implemented Interfaces:
I_CmsListAction,org.opencms.workplace.tools.I_CmsHtmlIconButton
- Direct Known Subclasses:
CmsListDirectAction,CmsListIndependentAction,CmsListMultiAction
public abstract class A_CmsListAction
extends org.opencms.workplace.tools.A_CmsHtmlIconButton
implements I_CmsListAction
The default skeleton for a list action.
- Since:
- 6.0.0
-
Field Summary
Fields inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
EMPTY_MESSAGE, m_id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe same usingI_CmsListAction.getWp().static StringdefaultConfirmationHtml(String confId, String confText) Generates html for the confirmation message when having one confirmation message for several actions.org.opencms.i18n.CmsMessageContainerReturns an optional confirmation message for the action.Returns the id of the associated list.getWp()Returns the related workplace dialog object, to be able to access dynamic data.voidsetConfirmationMessage(org.opencms.i18n.CmsMessageContainer confirmationMsg) Sets the confirmation message.voidSets the list id.voidsetWp(A_CmsListDialog wp) Sets the workplace dialog object.Methods 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
buttonHtml, getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible
-
Constructor Details
-
A_CmsListAction
Default Constructor.- Parameters:
id- unique id
-
-
Method Details
-
defaultConfirmationHtml
Generates html for the confirmation message when having one confirmation message for several actions.- Parameters:
confId- the id of the confirmation messageconfText- the confirmation message- Returns:
- html code
-
buttonHtml
Description copied from interface:I_CmsListActionThe same usingI_CmsListAction.getWp().- Specified by:
buttonHtmlin interfaceI_CmsListAction- Returns:
- the buttons html code
- See Also:
-
getConfirmationMessage
Description copied from interface:I_CmsListActionReturns an optional confirmation message for the action.It will be escaped for usage in java script code.
- Specified by:
getConfirmationMessagein interfaceI_CmsListAction- Returns:
- confirmation message
- See Also:
-
getListId
Description copied from interface:I_CmsListActionReturns the id of the associated list.- Specified by:
getListIdin interfaceI_CmsListAction- Returns:
- the id of the associated list
- See Also:
-
getWp
Description copied from interface:I_CmsListActionReturns the related workplace dialog object, to be able to access dynamic data.- Specified by:
getWpin interfaceI_CmsListAction- Returns:
- the related workplace dialog object
- See Also:
-
setConfirmationMessage
Description copied from interface:I_CmsListActionSets the confirmation message.- Specified by:
setConfirmationMessagein interfaceI_CmsListAction- Parameters:
confirmationMsg- the confirmation message to set- See Also:
-
setListId
Description copied from interface:I_CmsListActionSets the list id.- Specified by:
setListIdin interfaceI_CmsListAction- Parameters:
listId- the id of the list to set- See Also:
-
setWp
Description copied from interface:I_CmsListActionSets the workplace dialog object.- Specified by:
setWpin interfaceI_CmsListAction- Parameters:
wp- the workplace dialog object- See Also:
-