Class SendAlertHandler

    • Field Detail

      • opSend

        protected boolean opSend
      • memberSet

        protected java.util.Set<Member> memberSet
      • groupSet

        protected java.util.Set<Group> groupSet
      • recipientSet

        protected java.util.Set<Member> recipientSet
      • subject

        protected java.lang.String subject
      • subjectML

        protected java.util.HashMap<java.lang.String,​java.lang.String> subjectML
      • message

        protected java.lang.String message
      • messageML

        protected java.util.HashMap<java.lang.String,​java.lang.String> messageML
      • alertLevelKey

        protected java.lang.String alertLevelKey
      • refineWorkspace

        protected Workspace refineWorkspace
      • expiration

        protected java.util.Date expiration
      • loggedMembers

        protected boolean loggedMembers
      • multilingual

        protected boolean multilingual
      • __expirationStr

        protected java.lang.String __expirationStr
      • isExpirationValidated

        protected boolean isExpirationValidated
    • Constructor Detail

      • SendAlertHandler

        public SendAlertHandler()
    • 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
      • validateMember

        public boolean validateMember()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • validateSend

        protected boolean validateSend()
      • performSend

        protected boolean performSend()
      • getLoggedMemberSet

        public java.util.Set<Member> getLoggedMemberSet()
      • showLanguageChooser

        public boolean showLanguageChooser()
      • setOpSend

        public void setOpSend​(java.lang.String v)
      • setGroups

        public void setGroups​(java.lang.String[] v)
      • getAvailableGroupSet

        public java.util.Set<Group> getAvailableGroupSet()
      • setMembers

        public void setMembers​(java.lang.String[] v)
      • getAvailableMemberSet

        public java.util.Set<Member> getAvailableMemberSet()
      • setSubject

        public void setSubject​(java.lang.String... v)
      • getAvailableSubject

        public java.lang.String getAvailableSubject()
      • getAvailableSubjectML

        public java.util.HashMap<java.lang.String,​java.lang.String> getAvailableSubjectML()
      • getAllAvailableSubjectML

        public java.util.HashMap<java.lang.String,​java.lang.String> getAllAvailableSubjectML()
      • getAvailableSubject

        public java.lang.String getAvailableSubject​(java.lang.String lang)
      • setMessage

        public void setMessage​(java.lang.String... v)
      • getAvailableMessage

        public java.lang.String getAvailableMessage()
      • getAvailableMessageML

        public java.util.HashMap<java.lang.String,​java.lang.String> getAvailableMessageML()
      • getAllAvailableMessageML

        public java.util.HashMap<java.lang.String,​java.lang.String> getAllAvailableMessageML()
      • getAvailableMessage

        public java.lang.String getAvailableMessage​(java.lang.String lang)
      • setMultilingual

        public void setMultilingual​(boolean v)
      • isMultilingual

        public boolean isMultilingual()
      • setAlertLevelKey

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

        public java.lang.String getAvailableAlertLevelKey()
      • setRefineWorkspace

        public void setRefineWorkspace​(java.lang.String v)
      • getAvailableRefineWorkspace

        public Workspace getAvailableRefineWorkspace()
      • setExpiration

        public void setExpiration​(java.lang.String v)
      • getAvailableExpiration

        public java.util.Date getAvailableExpiration()
      • setLoggedMembers

        public void setLoggedMembers​(java.lang.String v)
      • getAvailableLoggedMembers

        public boolean getAvailableLoggedMembers()