Class MailItem

java.lang.Object
fr.paris.lutece.portal.service.mail.MailItem
All Implemented Interfaces:
Serializable

public class MailItem extends Object implements Serializable
MailIem
See Also:
  • Field Details

  • Constructor Details

    • MailItem

      public MailItem()
  • Method Details

    • getRecipientsTo

      public String getRecipientsTo()
      Returns the Recipient
      Returns:
      The Recipient
    • setRecipientsTo

      public void setRecipientsTo(String strRecipient)
      Sets the Recipient
      Parameters:
      strRecipient - The Recipient
    • 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
    • getSenderName

      public String getSenderName()
      Returns the SenderName
      Returns:
      The SenderName
    • setSenderName

      public void setSenderName(String strSenderName)
      Sets the SenderName
      Parameters:
      strSenderName - The SenderName
    • getSenderEmail

      public String getSenderEmail()
      Returns the SenderEmail
      Returns:
      The SenderEmail
    • setSenderEmail

      public void setSenderEmail(String strSenderEmail)
      Sets the SenderEmail
      Parameters:
      strSenderEmail - The SenderEmail
    • getSubject

      public String getSubject()
      Returns the Subject
      Returns:
      The Subject
    • setSubject

      public void setSubject(String strSubject)
      Sets the Subject
      Parameters:
      strSubject - The Subject
    • getMessage

      public String getMessage()
      Returns the Message
      Returns:
      The Message
    • setMessage

      public void setMessage(String strMessage)
      Sets the Message
      Parameters:
      strMessage - The Message
    • getCalendarMessage

      public String getCalendarMessage()
      Returns the calendar message
      Returns:
      The calendar message
    • setCalendarMessage

      public void setCalendarMessage(String strCalendarMessage)
      Sets the calendar message
      Parameters:
      strCalendarMessage - The calendar message
    • getCreateEvent

      public boolean getCreateEvent()
      Check if the calendar event of this mail item should be created or removed
      Returns:
      True if the event should be created, false if it should be removed
    • setCreateEvent

      public void setCreateEvent(boolean bCreateEvent)
      Create or remove the event of this mail item
      Parameters:
      bCreateEvent - True to create the event, false otherwise
    • getFormat

      public int getFormat()
      Returns the Format
      Returns:
      The Format
    • setFormat

      public void setFormat(int nFormat)
      Sets the Format
      Parameters:
      nFormat - The Format
    • getFilesAttachement

      public List<FileAttachment> getFilesAttachement()
      Returns a collection of files attachement
      Returns:
      The Attachements Map
    • setFilesAttachement

      public void setFilesAttachement(List<FileAttachment> fileAttachements)
      Set a collection of files attachement
      Parameters:
      fileAttachements - The collection of files attachement
    • getUrlsAttachement

      public List<UrlAttachment> getUrlsAttachement()
      return the list of urls attachement
      Returns:
      the list of urls attachement
    • setUrlsAttachement

      public void setUrlsAttachement(List<UrlAttachment> urlsAttachement)
      set the list of urls attachement
      Parameters:
      urlsAttachement - the list of urls attachement
    • setUniqueRecipientTo

      public void setUniqueRecipientTo(boolean bUniqueRecipient)
      set true if the mail must be send unitarily for each recipient
      Parameters:
      bUniqueRecipient - true if the mail must be send unitarily for each recipient
    • isUniqueRecipientTo

      public boolean isUniqueRecipientTo()
      Returns:
      if the mail must be send unitarily for each recipient