Class BroadcastNotification
- java.lang.Object
-
- fr.paris.lutece.plugins.grubusiness.business.notification.BroadcastNotification
-
public class BroadcastNotification extends java.lang.ObjectThe 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 Summary
Constructors Constructor Description BroadcastNotification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBcc(EmailAddress recipient)Adds a blind carbon copy recipientvoidaddCc(EmailAddress recipient)Adds a carbon copy recipientvoidaddRecipient(EmailAddress recipient)Adds a recipientjava.util.List<EmailAddress>getBcc()Gets bcc addresses.java.util.List<EmailAddress>getCc()Gets cc addresses.java.lang.StringgetMessage()Returns the Message.java.util.List<EmailAddress>getRecipient()Returns Recipients.java.lang.StringgetSenderEmail()Returns the SenderEmail.java.lang.StringgetSenderName()Returns the SenderName.java.lang.StringgetSubject()Returns the Subject.voidsetBcc(java.util.List<EmailAddress> lstBcc)Sets bcc addresses.voidsetCc(java.util.List<EmailAddress> lstCc)Sets cc addresses.voidsetMessage(java.lang.String strMessage)Sets the Message.voidsetRecipient(java.util.List<EmailAddress> lstRecipient)Sets Recipients.voidsetSenderEmail(java.lang.String strSenderEmail)Sets the SenderEmail.voidsetSenderName(java.lang.String strSenderName)Sets the SenderName.voidsetSubject(java.lang.String strSubject)Sets the Subject.
-
-
-
Method Detail
-
getSenderName
public java.lang.String getSenderName()
Returns the SenderName.- Returns:
- The SenderName
-
setSenderName
public void setSenderName(java.lang.String strSenderName)
Sets the SenderName.- Parameters:
strSenderName- The SenderName
-
getSenderEmail
public java.lang.String getSenderEmail()
Returns the SenderEmail.- Returns:
- The SenderEmail
-
setSenderEmail
public void setSenderEmail(java.lang.String strSenderEmail)
Sets the SenderEmail.- Parameters:
strSenderEmail- The SenderEmail
-
getRecipient
public java.util.List<EmailAddress> getRecipient()
Returns Recipients.- Returns:
- Recipients
-
setRecipient
public void setRecipient(java.util.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 java.lang.String getSubject()
Returns the Subject.- Returns:
- The Subject
-
setSubject
public void setSubject(java.lang.String strSubject)
Sets the Subject.- Parameters:
strSubject- The Subject
-
getMessage
public java.lang.String getMessage()
Returns the Message.- Returns:
- The Message
-
setMessage
public void setMessage(java.lang.String strMessage)
Sets the Message.- Parameters:
strMessage- The Message
-
getCc
public java.util.List<EmailAddress> getCc()
Gets cc addresses.- Returns:
- cc addresses
-
setCc
public void setCc(java.util.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 java.util.List<EmailAddress> getBcc()
Gets bcc addresses.- Returns:
- bbc addresses
-
setBcc
public void setBcc(java.util.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
-
-