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

PropertyReturnsDescription
baseEmailJobStringName or identifier of the BaseEmailJob that generated this email item, as indexed.
dateFromLongStringSend date of the email as formatted text, as stored in the search index.
idLongDatabase id of the underlying EmailItem entity.
recipientAddressStringEmail address the item was sent to, as indexed at the time it was sent.
recipientIdLongDatabase id of the recipient profile the email was sent to.
sendStatusDateDateDate 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.
sendStatusTextStringHuman readable description of the email's current send status, as indexed.
subjectStringSubject 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.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.