Class Mailing


  • public class Mailing
    extends Object
    • Constructor Detail

      • Mailing

        public Mailing()
    • Method Detail

      • getContent

        public String getContent()
      • setContent

        public void setContent​(String content)
      • getFrom

        public javax.mail.internet.InternetAddress getFrom()
      • setFrom

        public void setFrom​(javax.mail.internet.InternetAddress from)
      • isHtml

        public boolean isHtml()
      • setHtml

        public void setHtml​(boolean html)
      • getNotif

        public javax.mail.internet.InternetAddress getNotif()
      • setNotif

        public void setNotif​(javax.mail.internet.InternetAddress notif)
      • getSubject

        public String getSubject()
      • setSubject

        public void setSubject​(String subject)
      • setReceivers

        public void setReceivers​(Set<javax.mail.internet.InternetAddress> receivers)
      • getReceiversSize

        public int getReceiversSize()
      • setRoles

        public void setRoles​(List<String> inRoles)
      • addErrorReceive

        public boolean addErrorReceive​(javax.mail.internet.InternetAddress email)
      • getErrorReveicers

        public Collection<javax.mail.internet.InternetAddress> getErrorReveicers()
      • store

        public void store​(javax.servlet.ServletContext application)
                   throws IOException
        Throws:
        IOException
      • delete

        public void delete​(javax.servlet.ServletContext application)
                    throws IOException
        Throws:
        IOException
      • getSentKey

        public String getSentKey​(javax.mail.internet.InternetAddress key)
      • getNextReceiver

        public javax.mail.internet.InternetAddress getNextReceiver()
      • onEndMailing

        public void onEndMailing()
      • isSend

        public boolean isSend()
      • setSend

        public void setSend​(boolean send)
      • getReceivers

        public Set<javax.mail.internet.InternetAddress> getReceivers()
      • getLanguage

        public String getLanguage()
      • setLanguage

        public void setLanguage​(String language)
      • getUnsubscribeURL

        public String getUnsubscribeURL()
      • setUnsubscribeURL

        public void setUnsubscribeURL​(String unsubscribeURL)
      • addData

        public void addData​(String key,
                            String value)
      • getId

        public String getId()
      • getContextKey

        public String getContextKey()
      • setContextKey

        public void setContextKey​(String contextKey)
      • getDate

        public Date getDate()
      • isTest

        public boolean isTest()
      • setTest

        public void setTest​(boolean test)
      • getEncoding

        public String getEncoding()
      • setEncoding

        public void setEncoding​(String encoding)
      • getTemplateId

        public String getTemplateId()
      • setTemplateId

        public void setTemplateId​(String templateId)
      • getSendDate

        public Date getSendDate()
      • getDateString

        public String getDateString()
      • setSendDate

        public void setSendDate​(Date sendDate)
      • getAdminEmail

        public String getAdminEmail()
      • setAdminEmail

        public void setAdminEmail​(String adminEmail)
      • isValid

        public boolean isValid()
      • getUsers

        public Map<javax.mail.internet.InternetAddress,​IUserInfo> getUsers()
      • setUsers

        public void setUsers​(Map<javax.mail.internet.InternetAddress,​IUserInfo> users)
      • getSmtpHost

        public String getSmtpHost()
      • setSmtpHost

        public void setSmtpHost​(String smtpHost)
      • getSmtpPort

        public String getSmtpPort()
      • setSmtpPort

        public void setSmtpPort​(String smtpPort)
      • getSmtpUser

        public String getSmtpUser()
      • setSmtpUser

        public void setSmtpUser​(String smtpUser)
      • getSmtpPassword

        public String getSmtpPassword()
      • setSmtpPassword

        public void setSmtpPassword​(String smtpPassword)
      • getManualUnsubscribeLink

        public String getManualUnsubscribeLink()
      • setManualUnsubscribeLink

        public void setManualUnsubscribeLink​(String manualUnsubcribeLink)
      • getDkimDomain

        public String getDkimDomain()
      • setDkimDomain

        public void setDkimDomain​(String dkimDomain)
      • getDkimSelector

        public String getDkimSelector()
      • setDkimSelector

        public void setDkimSelector​(String dkimSelector)
      • storePrivateKeyFile

        public void storePrivateKeyFile​(File privateKey)
      • setDirectory

        public void setDirectory​(StaticConfig staticConfig)
      • getDkimPrivateKeyFile

        public File getDkimPrivateKeyFile()
      • getErrorMessage

        public String getErrorMessage()
      • setErrorMessage

        public void setErrorMessage​(String errorMessage)
      • getWarningMessage

        public String getWarningMessage()
      • setWarningMessage

        public void setWarningMessage​(String warningMessage)
      • getMessage

        public String getMessage()
      • getPageId

        public String getPageId()
      • setPageId

        public void setPageId​(String pageId)
      • printInfo

        public void printInfo​(PrintStream out)