Lightweight, read-only view of an email item built from a search index hit, used to render rows in the "manage email items" history listing without loading the full entity for every row. Wraps the fields that the list page displays and can lazily load the backing EmailItem entity on demand.
Properties
| Property | Returns | Description |
|---|---|---|
| baseEmailJob | String | Name or identifier of the BaseEmailJob that generated this email item, as indexed. |
| dateFromLong | String | Send date of the email as formatted text, as stored in the search index. |
| id | Long | Database id of the underlying EmailItem entity. |
| recipientAddress | String | Email address the item was sent to, as indexed at the time it was sent. |
| recipientId | Long | Database id of the recipient profile the email was sent to. |
| sendStatusDate | Date | Date the send status was last updated, parsed from the search index value. Null if the index value was missing or could not be parsed as a date. |
| sendStatusText | String | Human readable description of the email's current send status, as indexed. |
| subject | String | Subject line of the email, as indexed at the time it was sent. |
Methods
getId() · getRecipientId() · getRecipientAddress() · getSubject() · getDateFromLong() · getSendStatusDate() · getSendStatusText() · getBaseEmailJob() · emailItem()
getId()
Returns: Long
Database id of the underlying EmailItem entity.
getRecipientId()
Returns: Long
Database id of the recipient profile the email was sent to.
getRecipientAddress()
Returns: String
Email address the item was sent to, as indexed at the time it was sent.
getSubject()
Returns: String
Subject line of the email, as indexed at the time it was sent.
getDateFromLong()
Returns: String
Send date of the email as formatted text, as stored in the search index.
getSendStatusDate()
Returns: Date
Date the send status was last updated, parsed from the search index value. Null if the index value was missing or could not be parsed as a date.
getSendStatusText()
Returns: String
Human readable description of the email's current send status, as indexed.
getBaseEmailJob()
Returns: String
Name or identifier of the BaseEmailJob that generated this email item, as indexed.
emailItem()
Returns: EmailItem
Loads the full EmailItem entity backing this bean, fetching it from the database on first call and caching the result on the bean for subsequent calls.