Class BroadcastNotification

java.lang.Object
fr.paris.lutece.plugins.grubusiness.business.notification.BroadcastNotification

public class BroadcastNotification extends Object
The Class BroadcastNotification for broadcast notification.
Fields description :
- message, content of the notification
- recipient, list of emailAddress for the broadcast - bcc, list of emailAddress for blind carbon copy
- subject, subject of the email
- sender_email, sender email address
- sender_name, sender name
- cc, list of emailAddress for carbon copy
  • Constructor Details

    • BroadcastNotification

      public BroadcastNotification()
  • Method Details

    • getSenderName

      public String getSenderName()
      Returns the SenderName.
      Returns:
      The SenderName
    • setSenderName

      public void setSenderName(String strSenderName)
      Sets the SenderName.
      Parameters:
      strSenderName - The SenderName
    • getSenderEmail

      public String getSenderEmail()
      Returns the SenderEmail.
      Returns:
      The SenderEmail
    • setSenderEmail

      public void setSenderEmail(String strSenderEmail)
      Sets the SenderEmail.
      Parameters:
      strSenderEmail - The SenderEmail
    • getRecipient

      public List<EmailAddress> getRecipient()
      Returns Recipients.
      Returns:
      Recipients
    • setRecipient

      public void setRecipient(List<EmailAddress> lstRecipient)
      Sets Recipients.
      Parameters:
      lstRecipient - all Recipients
    • addRecipient

      public void addRecipient(EmailAddress recipient)
      Adds a recipient
      Parameters:
      recipient - the recipient to add
    • getSubject

      public String getSubject()
      Returns the Subject.
      Returns:
      The Subject
    • setSubject

      public void setSubject(String strSubject)
      Sets the Subject.
      Parameters:
      strSubject - The Subject
    • getMessage

      public String getMessage()
      Returns the Message.
      Returns:
      The Message
    • setMessage

      public void setMessage(String strMessage)
      Sets the Message.
      Parameters:
      strMessage - The Message
    • getCc

      public List<EmailAddress> getCc()
      Gets cc addresses.
      Returns:
      cc addresses
    • setCc

      public void setCc(List<EmailAddress> lstCc)
      Sets cc addresses.
      Parameters:
      lstCc - cc addresses
    • addCc

      public void addCc(EmailAddress recipient)
      Adds a carbon copy recipient
      Parameters:
      recipient - the recipient to add
    • getBcc

      public List<EmailAddress> getBcc()
      Gets bcc addresses.
      Returns:
      bbc addresses
    • setBcc

      public void setBcc(List<EmailAddress> lstBcc)
      Sets bcc addresses.
      Parameters:
      lstBcc - bcc addresses
    • addBcc

      public void addBcc(EmailAddress recipient)
      Adds a blind carbon copy recipient
      Parameters:
      recipient - the recipient to add