Class UnifiedInsertHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public final class UnifiedInsertHandler extends JcmsFormHandler
JavaBean used to process Unified insertion action.
Since:
jcms-10.0.0 - JCMS-5321
  • Constructor Details

    • UnifiedInsertHandler

      public UnifiedInsertHandler()
  • Method Details

    • init

      protected void init()
      Description copied from class: JcmsFormHandler
      Method to implement if you need to initialize your handler from parameter received, prior to all security validation.

      You must absolutely not perform any action which modify data or site configuration.

      Therefore it is strongly recommend NOT TO implement this method, or use very wisely.

      Overrides:
      init in class JcmsFormHandler
    • getItemUrl

      public String getItemUrl(MenuItem selectedItem)
      Returns the selected item url, by merging item url and query params
      Parameters:
      selectedItem - the selected MenuItem
      Returns:
      the given item url
      Since:
      jcms-10.0.5
    • getMenuItems

      public Set<MenuItem> getMenuItems()
      Retrieve the set of MenuItem to display
      Returns:
      a set of MenuItems, never return null
    • getSelectedItem

      public MenuItem getSelectedItem()
      Retrieve the MenuItem to be displayed as active
      Returns:
      a MenuItem, may return null if no item was selected
    • setSelect

      public void setSelect(String selection)
    • setConfigurationId

      public void setConfigurationId(String configurationId)