Class EditAlertRuleHandler

    • Field Detail

      • domainPropMap

        protected java.util.Map<java.lang.String,​java.lang.Object> domainPropMap
      • domainMap

        protected java.util.SortedMap<java.lang.String,​java.lang.String> domainMap
      • alertMap

        protected java.util.SortedMap<java.lang.String,​java.lang.String> alertMap
      • alertChannelList

        protected java.util.List<AlertChannel> alertChannelList
      • opMode

        protected java.lang.String opMode
      • isOpModeAdd

        protected boolean isOpModeAdd
      • isOpModeSave

        protected boolean isOpModeSave
      • opAdd

        protected boolean opAdd
      • opSave

        protected boolean opSave
      • alertLevelKey

        protected java.lang.String alertLevelKey
      • alertDomain

        protected java.lang.String alertDomain
      • alertName

        protected java.lang.String alertName
      • alertReceive

        protected boolean alertReceive
      • alertChannels

        protected java.lang.String[] alertChannels
      • alert

        protected Alert alert
      • memberFH

        protected Member memberFH
    • Constructor Detail

      • EditAlertRuleHandler

        public EditAlertRuleHandler()
    • Method Detail

      • 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
      • 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
      • getNewAlertRule

        public AlertRule getNewAlertRule()
      • isTableUpdate

        public boolean isTableUpdate()
      • getNewAlertRuleData

        public java.lang.String getNewAlertRuleData()
      • getAlertReceiveSettings

        public ControlSettings getAlertReceiveSettings()
      • getAlertChannelSettings

        public ControlSettings getAlertChannelSettings()
      • getOpMode

        public java.lang.String getOpMode()
      • getButtonLabel

        public java.lang.String getButtonLabel()
      • showLevel

        public boolean showLevel()
      • showViewRules

        public boolean showViewRules()
      • setOpMode

        public void setOpMode​(java.lang.String v)
      • setOpAdd

        public void setOpAdd​(java.lang.String v)
      • setOpSave

        public void setOpSave​(java.lang.String v)
      • setAlertLevelKey

        public void setAlertLevelKey​(java.lang.String alertLevelKey)
      • setAlertDomain

        public void setAlertDomain​(java.lang.String alertDomain)
      • setAlertName

        public void setAlertName​(java.lang.String alertName)
      • setAlertReceive

        public void setAlertReceive​(java.lang.String v)
      • setAlertChannels

        public void setAlertChannels​(java.lang.String[] alertChannels)
      • getAvailableAlertChannels

        public java.lang.String[] getAvailableAlertChannels()
      • setAlert

        public void setAlert​(java.lang.String id)
      • getAvailableMemberFH

        public Member getAvailableMemberFH()
      • setMemberFH

        public void setMemberFH​(java.lang.String id)