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)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCancelMotif()  
      boolean getCreateNotif()
      Check if the notification should be created or updated in the calendar of the user, or if it should be removed
      boolean getIsSms()
      Check if the notification is an SMS notification or an email notification
      java.lang.String getLocation()
      Get the localization of the appointment
      java.lang.String getMessage()
      Get the message
      java.lang.String getRecipientsBcc()
      Returns the Recipient
      java.lang.String getRecipientsCc()
      Returns the Recipient
      java.lang.String getSenderEmail()
      Get the sender email
      java.lang.String getSenderName()
      Get the sender name
      boolean getSendICalNotif()
      Check if the notification should include an iCal event
      java.lang.String getSubject()
      Get the subject
      void setCancelMotif​(java.lang.String strCancelMotif)  
      void setCreateNotif​(boolean bCreateNotif)
      Create a notification in a user calendar, or remove it
      void setIsSms​(boolean bIsSms)
      Set whether the notification is an SMS notification or an email notification
      void setLocation​(java.lang.String strLocation)
      Set the localization of the appointment
      void setMessage​(java.lang.String strMessage)
      Set the message of the notification
      void setRecipientsBcc​(java.lang.String strRecipient)
      Sets the Recipient
      void setRecipientsCc​(java.lang.String strRecipient)
      Sets the Recipient
      void setSenderEmail​(java.lang.String strSenderEmail)
      Set the sender email
      void setSenderName​(java.lang.String strSenderName)
      Set the sender name
      void setSendICalNotif​(boolean bSendICalNotif)
      Set whether this notification should include an iCal event
      void setSubject​(java.lang.String strSubject)
      Set the subject of the message
      • Methods inherited from class fr.paris.lutece.plugins.workflowcore.business.config.TaskConfig

        getIdTask, setIdTask
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NotifyAppointmentDTO

        public NotifyAppointmentDTO()
    • Method Detail

      • getCancelMotif

        public java.lang.String getCancelMotif()
      • setCancelMotif

        public void setCancelMotif​(java.lang.String strCancelMotif)
      • getSubject

        public java.lang.String getSubject()
        Get the subject
        Returns:
        the subject of the message
      • setSubject

        public void setSubject​(java.lang.String strSubject)
        Set the subject of the message
        Parameters:
        strSubject - the subject of the message
      • getMessage

        public java.lang.String getMessage()
        Get the message
        Returns:
        the message of the notification
      • setMessage

        public void setMessage​(java.lang.String strMessage)
        Set the message of the notification
        Parameters:
        strMessage - the message of the notification
      • getSenderName

        public java.lang.String getSenderName()
        Get the sender name
        Returns:
        the sender name
      • setSenderName

        public void setSenderName​(java.lang.String strSenderName)
        Set the sender name
        Parameters:
        strSenderName - the sender name
      • getSenderEmail

        public java.lang.String getSenderEmail()
        Get the sender email
        Returns:
        the sender email
      • setSenderEmail

        public void setSenderEmail​(java.lang.String strSenderEmail)
        Set the sender email
        Parameters:
        strSenderEmail - the sender email
      • getRecipientsCc

        public java.lang.String getRecipientsCc()
        Returns the Recipient
        Returns:
        The Recipient
      • setRecipientsCc

        public void setRecipientsCc​(java.lang.String strRecipient)
        Sets the Recipient
        Parameters:
        strRecipient - The Recipient
      • getRecipientsBcc

        public java.lang.String getRecipientsBcc()
        Returns the Recipient
        Returns:
        The Recipient
      • setRecipientsBcc

        public void setRecipientsBcc​(java.lang.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 java.lang.String getLocation()
        Get the localization of the appointment
        Returns:
        The localization of the appointment
      • setLocation

        public void setLocation​(java.lang.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