Package io.jmix.email.entity
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 Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected List<SendingAttachment>protected Stringprotected Integerprotected Integerprotected Stringstatic final intprotected Stringprotected Stringprotected StringEmail body is stored either in this field or incontentTextFile.protected FileRefprotected Dateprotected Dateprotected Stringprotected Stringstatic final Stringprotected Booleanprotected Integerprotected Stringstatic final intprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBcc()getCc()getFrom()getId()protected voidvoidsetAddress(String address) voidsetAttachments(List<SendingAttachment> attachments) voidsetAttachmentsName(String attachmentsName) voidsetAttemptsLimit(Integer attemptsLimit) voidsetAttemptsMade(Integer attemptsMade) voidvoidsetBodyContentType(String bodyContentType) voidvoidsetContentText(String contentText) voidsetContentTextFile(FileRef contentTextFile) voidsetCreatedBy(String createdBy) voidsetCreateTs(Date createTs) voidsetDateSent(Date dateSent) voidsetDeadline(Date deadline) voidsetDeletedBy(String deletedBy) voidsetDeleteTs(Date deleteTs) voidvoidsetHeaders(String headers) voidvoidsetImportant(Boolean important) voidsetStatus(SendingStatus status) voidvoidsetSubject(String subject) voidsetSysTenantId(String sysTenantId) voidsetUpdatedBy(String updatedBy) voidsetUpdateTs(Date updateTs) voidsetVersion(Integer version)
-
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
- See Also:
-
address
-
from
-
cc
-
bcc
-
subject
-
contentText
Email body is stored either in this field or incontentTextFile. -
contentTextFile
-
status
-
dateSent
-
attachmentsName
-
deadline
-
attemptsLimit
-
attemptsMade
-
attachments
-
headers
-
bodyContentType
-
sysTenantId
-
important
-
-
Constructor Details
-
SendingMessage
public SendingMessage()
-
-
Method Details
-
initLastAttemptTime
protected void initLastAttemptTime() -
getImportant
-
setImportant
-
getId
-
setId
-
getVersion
-
setVersion
-
getCreateTs
-
setCreateTs
-
getCreatedBy
-
setCreatedBy
-
getUpdateTs
-
setUpdateTs
-
getUpdatedBy
-
setUpdatedBy
-
getDeleteTs
-
setDeleteTs
-
getDeletedBy
-
setDeletedBy
-
setStatus
-
getAddress
-
setAddress
-
getContentText
-
setContentText
-
getDeadline
-
setDeadline
-
getStatus
-
setStatus
-
getDateSent
-
setDateSent
-
getAttemptsLimit
-
setAttemptsLimit
-
getAttachmentsName
-
setAttachmentsName
-
getFrom
-
setFrom
-
setSubject
-
getSubject
-
getAttachments
-
setAttachments
-
getAttemptsMade
-
setAttemptsMade
-
getContentTextFile
-
setContentTextFile
-
getHeaders
-
setHeaders
-
getBodyContentType
-
setBodyContentType
-
getCc
-
setCc
-
getBcc
-
setBcc
-
getSysTenantId
-
setSysTenantId
-