Class 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 Detail

      • NotifyAppointmentDTO

        public NotifyAppointmentDTO()
    • 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