Class SendingMessage

java.lang.Object
io.jmix.email.entity.SendingMessage
All Implemented Interfaces:
Serializable

@Entity(name="email_SendingMessage") public class SendingMessage extends Object implements Serializable
Entity to store information about sending emails.
See Also:
  • Field Details

    • SUBJECT_LENGTH

      public static final int SUBJECT_LENGTH
      See Also:
    • BODY_CONTENT_TYPE_LENGTH

      public static final int BODY_CONTENT_TYPE_LENGTH
      See Also:
    • HEADERS_SEPARATOR

      public static final String HEADERS_SEPARATOR
      See Also:
    • address

      protected String address
    • from

      protected String from
    • cc

      protected String cc
    • bcc

      protected String bcc
    • subject

      protected String subject
    • contentText

      protected String contentText
      Email body is stored either in this field or in contentTextFile.
    • contentTextFile

      protected FileRef contentTextFile
    • status

      protected Integer status
    • dateSent

      protected Date dateSent
    • attachmentsName

      protected String attachmentsName
    • deadline

      protected Date deadline
    • attemptsLimit

      protected Integer attemptsLimit
    • attemptsMade

      protected Integer attemptsMade
    • attachments

      protected List<SendingAttachment> attachments
    • headers

      protected String headers
    • bodyContentType

      protected String bodyContentType
    • sysTenantId

      protected String sysTenantId
    • important

      protected Boolean important
  • Constructor Details

    • SendingMessage

      public SendingMessage()
  • Method Details

    • initLastAttemptTime

      protected void initLastAttemptTime()
    • getImportant

      public Boolean getImportant()
    • setImportant

      public void setImportant(Boolean important)
    • getId

      public UUID getId()
    • setId

      public void setId(UUID id)
    • getVersion

      public Integer getVersion()
    • setVersion

      public void setVersion(Integer version)
    • getCreateTs

      public Date getCreateTs()
    • setCreateTs

      public void setCreateTs(Date createTs)
    • getCreatedBy

      public String getCreatedBy()
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • getUpdateTs

      public Date getUpdateTs()
    • setUpdateTs

      public void setUpdateTs(Date updateTs)
    • getUpdatedBy

      public String getUpdatedBy()
    • setUpdatedBy

      public void setUpdatedBy(String updatedBy)
    • getDeleteTs

      public Date getDeleteTs()
    • setDeleteTs

      public void setDeleteTs(Date deleteTs)
    • getDeletedBy

      public String getDeletedBy()
    • setDeletedBy

      public void setDeletedBy(String deletedBy)
    • setStatus

      public void setStatus(Integer status)
    • getAddress

      public String getAddress()
    • setAddress

      public void setAddress(String address)
    • getContentText

      public String getContentText()
    • setContentText

      public void setContentText(String contentText)
    • getDeadline

      public Date getDeadline()
    • setDeadline

      public void setDeadline(Date deadline)
    • getStatus

      public SendingStatus getStatus()
    • setStatus

      public void setStatus(SendingStatus status)
    • getDateSent

      public Date getDateSent()
    • setDateSent

      public void setDateSent(Date dateSent)
    • getAttemptsLimit

      public Integer getAttemptsLimit()
    • setAttemptsLimit

      public void setAttemptsLimit(Integer attemptsLimit)
    • getAttachmentsName

      public String getAttachmentsName()
    • setAttachmentsName

      public void setAttachmentsName(String attachmentsName)
    • getFrom

      public String getFrom()
    • setFrom

      public void setFrom(String from)
    • setSubject

      public void setSubject(String subject)
    • getSubject

      public String getSubject()
    • getAttachments

      public List<SendingAttachment> getAttachments()
    • setAttachments

      public void setAttachments(List<SendingAttachment> attachments)
    • getAttemptsMade

      public Integer getAttemptsMade()
    • setAttemptsMade

      public void setAttemptsMade(Integer attemptsMade)
    • getContentTextFile

      public FileRef getContentTextFile()
    • setContentTextFile

      public void setContentTextFile(FileRef contentTextFile)
    • getHeaders

      public String getHeaders()
    • setHeaders

      public void setHeaders(String headers)
    • getBodyContentType

      public String getBodyContentType()
    • setBodyContentType

      public void setBodyContentType(String bodyContentType)
    • getCc

      public String getCc()
    • setCc

      public void setCc(String cc)
    • getBcc

      public String getBcc()
    • setBcc

      public void setBcc(String bcc)
    • getSysTenantId

      public String getSysTenantId()
    • setSysTenantId

      public void setSysTenantId(String sysTenantId)