Class MailEditHandler

    • Field Detail

      • origin

        protected java.lang.String origin
      • fromEmail

        protected java.lang.String fromEmail
      • fromMember

        protected Member fromMember
      • fromAck

        protected boolean fromAck
      • fromBCC

        protected boolean fromBCC
      • toEmail

        protected java.lang.String toEmail
      • toMember

        protected Member toMember
      • toMembers

        protected java.util.List<Member> toMembers
      • toGroup

        protected Group toGroup
      • toGroups

        protected java.util.List<Group> toGroups
      • subject

        protected java.lang.String subject
      • content

        protected java.lang.String[] content
      • op

        protected boolean op
      • opSendMe

        protected boolean opSendMe
      • opSendAll

        protected boolean opSendAll
      • opCancel

        protected boolean opCancel
      • validateAdmin

        protected boolean validateAdmin
      • checkDisable

        protected boolean checkDisable
    • Constructor Detail

      • MailEditHandler

        public MailEditHandler()
    • 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
      • validateCommonSend

        public boolean validateCommonSend()
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • validateOpSendMe

        public boolean validateOpSendMe()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • performOpSendMe

        public boolean performOpSendMe()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • validateOpSendAll

        public boolean validateOpSendAll()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • performOpSendAll

        public boolean performOpSendAll()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • validateCancel

        public boolean validateCancel()
      • performCancel

        public boolean performCancel()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • initMailMessage

        public void initMailMessage()
      • sendMails

        protected void sendMails()
      • getAvailableContent

        public java.lang.String[] getAvailableContent()
      • setContent

        public void setContent​(java.lang.String[] content)
      • isAvailableFromAck

        public boolean isAvailableFromAck()
      • setFromAck

        public void setFromAck​(boolean fromAck)
      • isAvailableFromBCC

        public boolean isAvailableFromBCC()
      • setFromBCC

        public void setFromBCC​(boolean fromBCC)
      • getAvailableFromMember

        public Member getAvailableFromMember()
      • setFromMember

        public void setFromMember​(java.lang.String fromMember)
      • getAvailableFromEmail

        public java.lang.String getAvailableFromEmail()
      • setFromEmail

        public void setFromEmail​(java.lang.String email)
      • setOpSendAll

        public void setOpSendAll​(boolean opSendAll)
      • setOpSendMe

        public void setOpSendMe​(boolean opSendMe)
      • setOpCancel

        public void setOpCancel​(boolean opCancel)
      • getAvailableSubject

        public java.lang.String getAvailableSubject()
      • setSubject

        public void setSubject​(java.lang.String subject)
      • getAvailableToEmail

        public java.lang.String getAvailableToEmail()
      • setToEmail

        public void setToEmail​(java.lang.String toEmail)
      • getAvailableToGroup

        public Group getAvailableToGroup()
      • setToGroup

        public void setToGroup​(java.lang.String toGroup)
      • getAvailableToGroups

        public java.util.List<Group> getAvailableToGroups()
      • setToGroups

        public void setToGroups​(java.lang.String[] toGroups)
      • getAvailableToMember

        public Member getAvailableToMember()
      • setToMember

        public void setToMember​(java.lang.String toMember)
      • getAvailableToMembers

        public java.util.List<Member> getAvailableToMembers()
      • setToMembers

        public void setToMembers​(java.lang.String[] toMembers)
      • getAvailableAttachements

        public FileDocument[] getAvailableAttachements()
      • setAttachements

        public void setAttachements​(java.lang.String[] attachements)