Class TopbarCaddyMenuHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class TopbarCaddyMenuHandler extends JcmsFormHandler
Manages a Caddy menu in the topbar of the site.
Since:
jcms-10.0.8 / JCMS-10385
Author:
Sylvain Devaux
  • Constructor Details

    • TopbarCaddyMenuHandler

      public TopbarCaddyMenuHandler()
  • Method Details

    • processAction

      public boolean processAction() throws IOException
      Description copied from class: JcmsFormHandler
      Method to be implemented to check/validate action to be performed and process them.

      Default implementation is to return false. No need to call super method.

      This method may NOT be invoked at all if security validation are not met.

      You must ensure your handler and JSP can work properly without any code invoked in this method.

      Overrides:
      processAction in class JcmsFormHandler
      Returns:
      false if no redirection is needed, true otherwise
      Throws:
      IOException - IO Exception
    • validateClearCaddy

      protected boolean validateClearCaddy()
    • performClearCaddy

      protected boolean performClearCaddy()
    • setOpClearCaddy

      public void setOpClearCaddy(String v)
    • isClearCaddySuccess

      public boolean isClearCaddySuccess()
    • getClearButtonDataAttributes

      public DataAttribute getClearButtonDataAttributes()
    • getMenuItemMap

      public Map<String,Object> getMenuItemMap()
    • toString

      public String toString()
      Overrides:
      toString in class Object