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 Detail

      • TopbarCaddyMenuHandler

        public TopbarCaddyMenuHandler()
    • Method Detail

      • processAction

        public boolean processAction()
                              throws java.io.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:
        java.io.IOException - IO Exception
      • validateClearCaddy

        protected boolean validateClearCaddy()
      • performClearCaddy

        protected boolean performClearCaddy()
      • setOpClearCaddy

        public void setOpClearCaddy​(java.lang.String v)
      • isClearCaddySuccess

        public boolean isClearCaddySuccess()
      • getClearButtonDataAttributes

        public DataAttribute getClearButtonDataAttributes()
      • getMenuItemMap

        public java.util.Map<java.lang.String,​java.lang.Object> getMenuItemMap()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object