Class NotifyAppointmentDTO
- java.lang.Object
-
- fr.paris.lutece.plugins.workflowcore.business.config.TaskConfig
-
- fr.paris.lutece.plugins.workflow.modules.appointment.business.NotifyAppointmentDTO
-
- All Implemented Interfaces:
fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfig
- Direct Known Subclasses:
TaskNotifyAppointmentConfig
public class NotifyAppointmentDTO extends fr.paris.lutece.plugins.workflowcore.business.config.TaskConfigDTO to send email. This class extends TaskConfig to allow task config to use this class (because Java does not allow several extends)
-
-
Constructor Summary
Constructors Constructor Description NotifyAppointmentDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCancelMotif()booleangetCreateNotif()Check if the notification should be created or updated in the calendar of the user, or if it should be removedbooleangetIsSms()Check if the notification is an SMS notification or an email notificationStringgetLocation()Get the localization of the appointmentStringgetMessage()Get the messageStringgetRecipientsBcc()Returns the RecipientStringgetRecipientsCc()Returns the RecipientStringgetSenderEmail()Get the sender emailStringgetSenderName()Get the sender namebooleangetSendICalNotif()Check if the notification should include an iCal eventStringgetSubject()Get the subjectvoidsetCancelMotif(String strCancelMotif)voidsetCreateNotif(boolean bCreateNotif)Create a notification in a user calendar, or remove itvoidsetIsSms(boolean bIsSms)Set whether the notification is an SMS notification or an email notificationvoidsetLocation(String strLocation)Set the localization of the appointmentvoidsetMessage(String strMessage)Set the message of the notificationvoidsetRecipientsBcc(String strRecipient)Sets the RecipientvoidsetRecipientsCc(String strRecipient)Sets the RecipientvoidsetSenderEmail(String strSenderEmail)Set the sender emailvoidsetSenderName(String strSenderName)Set the sender namevoidsetSendICalNotif(boolean bSendICalNotif)Set whether this notification should include an iCal eventvoidsetSubject(String strSubject)Set the subject of the message
-
-
-
Method Detail
-
getCancelMotif
public String getCancelMotif()
-
setCancelMotif
public void setCancelMotif(String strCancelMotif)
-
getSubject
public String getSubject()
Get the subject- Returns:
- the subject of the message
-
setSubject
public void setSubject(String strSubject)
Set the subject of the message- Parameters:
strSubject- the subject of the message
-
getMessage
public String getMessage()
Get the message- Returns:
- the message of the notification
-
setMessage
public void setMessage(String strMessage)
Set the message of the notification- Parameters:
strMessage- the message of the notification
-
getSenderName
public String getSenderName()
Get the sender name- Returns:
- the sender name
-
setSenderName
public void setSenderName(String strSenderName)
Set the sender name- Parameters:
strSenderName- the sender name
-
getSenderEmail
public String getSenderEmail()
Get the sender email- Returns:
- the sender email
-
setSenderEmail
public void setSenderEmail(String strSenderEmail)
Set the sender email- Parameters:
strSenderEmail- the sender email
-
getRecipientsCc
public String getRecipientsCc()
Returns the Recipient- Returns:
- The Recipient
-
setRecipientsCc
public void setRecipientsCc(String strRecipient)
Sets the Recipient- Parameters:
strRecipient- The Recipient
-
getRecipientsBcc
public String getRecipientsBcc()
Returns the Recipient- Returns:
- The Recipient
-
setRecipientsBcc
public void setRecipientsBcc(String strRecipient)
Sets the Recipient- Parameters:
strRecipient- The Recipient
-
getSendICalNotif
public boolean getSendICalNotif()
Check if the notification should include an iCal event- Returns:
- True if the notification should include an iCal event, false otherwise
-
setSendICalNotif
public void setSendICalNotif(boolean bSendICalNotif)
Set whether this notification should include an iCal event- Parameters:
bSendICalNotif- True if this notification should include an iCal event, false otherwise
-
getCreateNotif
public boolean getCreateNotif()
Check if the notification should be created or updated in the calendar of the user, or if it should be removed- Returns:
- True to create or update the notification, false to remove it
-
setCreateNotif
public void setCreateNotif(boolean bCreateNotif)
Create a notification in a user calendar, or remove it- Parameters:
bCreateNotif- True to create or update the notification, false to remove it
-
getLocation
public String getLocation()
Get the localization of the appointment- Returns:
- The localization of the appointment
-
setLocation
public void setLocation(String strLocation)
Set the localization of the appointment- Parameters:
strLocation- The localization of the appointment
-
getIsSms
public boolean getIsSms()
Check if the notification is an SMS notification or an email notification- Returns:
- True if the notification is an SMS notification, false if it is an email notification
-
setIsSms
public void setIsSms(boolean bIsSms)
Set whether the notification is an SMS notification or an email notification- Parameters:
bIsSms- True if the notification is an SMS notification, false if it is an email notification
-
-