Class CmsListItemSelectionAction

java.lang.Object
org.opencms.workplace.tools.A_CmsHtmlIconButton
All Implemented Interfaces:
I_CmsListAction, I_CmsListDirectAction, org.opencms.workplace.tools.I_CmsHtmlIconButton
Direct Known Subclasses:
CmsListItemSelectionCustomAction

Default implementation of a list item selection action.

Since:
6.0.0
  • Constructor Details

    • CmsListItemSelectionAction

      public CmsListItemSelectionAction(String id, String multiActionId)
      Default Constructor.

      Parameters:
      id - the unique id
      multiActionId - the id of the related multi Action
  • Method Details

    • buttonHtml

      public String buttonHtml(org.opencms.workplace.CmsWorkplace wp)
      Specified by:
      buttonHtml in interface org.opencms.workplace.tools.I_CmsHtmlIconButton
      Overrides:
      buttonHtml in class CmsListDirectAction
      See Also:
      • I_CmsHtmlIconButton.buttonHtml(CmsWorkplace)
    • getMultiActionId

      Returns the id of the related multi Action.

      Returns:
      the id of the related multi Action
    • getSelectedItemId

      Returns the selected item Id.

      Returns:
      the selected item Id
    • setSelectedItemId

      public void setSelectedItemId(String selectedItemId)
      Sets the selected item Id.

      Parameters:
      selectedItemId - the selected item Id to set