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.TaskConfig
DTO 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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck 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 notificationGet the localization of the appointmentGet the messageReturns the RecipientReturns the RecipientGet the sender emailGet the sender namebooleanCheck if the notification should include an iCal eventGet 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 messageMethods inherited from class fr.paris.lutece.plugins.workflowcore.business.config.TaskConfig
getIdTask, setIdTask
-
Constructor Details
-
NotifyAppointmentDTO
public NotifyAppointmentDTO()
-
-
Method Details
-
getCancelMotif
-
setCancelMotif
-
getSubject
Get the subject- Returns:
- the subject of the message
-
setSubject
Set the subject of the message- Parameters:
strSubject- the subject of the message
-
getMessage
Get the message- Returns:
- the message of the notification
-
setMessage
Set the message of the notification- Parameters:
strMessage- the message of the notification
-
getSenderName
Get the sender name- Returns:
- the sender name
-
setSenderName
Set the sender name- Parameters:
strSenderName- the sender name
-
getSenderEmail
Get the sender email- Returns:
- the sender email
-
setSenderEmail
Set the sender email- Parameters:
strSenderEmail- the sender email
-
getRecipientsCc
Returns the Recipient- Returns:
- The Recipient
-
setRecipientsCc
Sets the Recipient- Parameters:
strRecipient- The Recipient
-
getRecipientsBcc
Returns the Recipient- Returns:
- The Recipient
-
setRecipientsBcc
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
Get the localization of the appointment- Returns:
- The localization of the appointment
-
setLocation
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
-