Class BroadcastNotification
java.lang.Object
fr.paris.lutece.plugins.grubusiness.business.notification.BroadcastNotification
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
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBcc(EmailAddress recipient) Adds a blind carbon copy recipientvoidaddCc(EmailAddress recipient) Adds a carbon copy recipientvoidaddRecipient(EmailAddress recipient) Adds a recipientgetBcc()Gets bcc addresses.getCc()Gets cc addresses.Returns the Message.Returns Recipients.Returns the SenderEmail.Returns the SenderName.Returns the Subject.voidsetBcc(List<EmailAddress> lstBcc) Sets bcc addresses.voidsetCc(List<EmailAddress> lstCc) Sets cc addresses.voidsetMessage(String strMessage) Sets the Message.voidsetRecipient(List<EmailAddress> lstRecipient) Sets Recipients.voidsetSenderEmail(String strSenderEmail) Sets the SenderEmail.voidsetSenderName(String strSenderName) Sets the SenderName.voidsetSubject(String strSubject) Sets the Subject.
-
Constructor Details
-
BroadcastNotification
public BroadcastNotification()
-
-
Method Details
-
getSenderName
Returns the SenderName.- Returns:
- The SenderName
-
setSenderName
Sets the SenderName.- Parameters:
strSenderName- The SenderName
-
getSenderEmail
Returns the SenderEmail.- Returns:
- The SenderEmail
-
setSenderEmail
Sets the SenderEmail.- Parameters:
strSenderEmail- The SenderEmail
-
getRecipient
Returns Recipients.- Returns:
- Recipients
-
setRecipient
Sets Recipients.- Parameters:
lstRecipient- all Recipients
-
addRecipient
Adds a recipient- Parameters:
recipient- the recipient to add
-
getSubject
Returns the Subject.- Returns:
- The Subject
-
setSubject
Sets the Subject.- Parameters:
strSubject- The Subject
-
getMessage
Returns the Message.- Returns:
- The Message
-
setMessage
Sets the Message.- Parameters:
strMessage- The Message
-
getCc
Gets cc addresses.- Returns:
- cc addresses
-
setCc
Sets cc addresses.- Parameters:
lstCc- cc addresses
-
addCc
Adds a carbon copy recipient- Parameters:
recipient- the recipient to add
-
getBcc
Gets bcc addresses.- Returns:
- bbc addresses
-
setBcc
Sets bcc addresses.- Parameters:
lstBcc- bcc addresses
-
addBcc
Adds a blind carbon copy recipient- Parameters:
recipient- the recipient to add
-