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 SummaryFieldsModifier 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 SummaryConstructors
- 
Method SummaryModifier 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_LENGTHpublic static final int SUBJECT_LENGTH- See Also:
 
- 
BODY_CONTENT_TYPE_LENGTHpublic static final int BODY_CONTENT_TYPE_LENGTH- See Also:
 
- 
HEADERS_SEPARATOR- See Also:
 
- 
address
- 
from
- 
cc
- 
bcc
- 
subject
- 
contentTextEmail body is stored either in this field or incontentTextFile.
- 
contentTextFile
- 
status
- 
dateSent
- 
attachmentsName
- 
deadline
- 
attemptsLimit
- 
attemptsMade
- 
attachments
- 
headers
- 
bodyContentType
- 
sysTenantId
- 
important
 
- 
- 
Constructor Details- 
SendingMessagepublic SendingMessage()
 
- 
- 
Method Details- 
initLastAttemptTimeprotected 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
 
-