Interface ExternalMessageSentAndTicketClosedEvent
- All Superinterfaces:
Event
,IncomingMessageInfo
,MessageInfo
,MessageSentAndTicketClosedEvent
,MessageSentEvent
,MessageSentTicketEvent
,SentMessageInfo
,TicketClosedEvent
,TicketEvent
,TicketProvider
,TicketStateChangedEvent
This event is triggered when a message associated with a ticket has been answered by an external recipient and successfully been sent and the associated ticket has been closed within the novomind iAGENT core process.
- Since:
- 10.0.120
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.mail.internet.InternetAddress
This method returns the email address of the external recipient responsible for the ticket send and close operation.This method returns the optional TransactionCode that has been applied during the external forward operation of the ticket.boolean
This method indicates whether this is the initial send and close operation on this ticket or if this is a follow up attempt to send the message e.g.Methods inherited from interface com.novomind.ecom.api.iagent.common.event.Event
getEventDate
Methods inherited from interface com.novomind.ecom.api.imail.model.IncomingMessageInfo
getIncomingAccount, getIncomingChannel, getIncomingMessage
Methods inherited from interface com.novomind.ecom.api.imail.model.MessageInfo
getTicketId
Methods inherited from interface com.novomind.ecom.api.imail.core.event.MessageSentAndTicketClosedEvent
getTicketState
Methods inherited from interface com.novomind.ecom.api.imail.model.SentMessageInfo
getOutgoingAccount, getOutgoingChannel, getSentMessage
Methods inherited from interface com.novomind.ecom.api.imail.provider.TicketProvider
getTicket
Methods inherited from interface com.novomind.ecom.api.imail.common.event.TicketStateChangedEvent
getPreviousTicketState
-
Method Details
-
isFollowUp
boolean isFollowUp()This method indicates whether this is the initial send and close operation on this ticket or if this is a follow up attempt to send the message e.g. due to a delivery failure.- Returns:
- true if this is a follow up attempt to send the message
- Since:
- 10.0.120
-
getTransactionCode
Optional<TransactionCode> getTransactionCode()This method returns the optional TransactionCode that has been applied during the external forward operation of the ticket.- Returns:
- the optional TransactionCode of the ticket.
- Since:
- 10.0.120
-
getExternalAddress
jakarta.mail.internet.InternetAddress getExternalAddress()This method returns the email address of the external recipient responsible for the ticket send and close operation.- Returns:
- the email address of the external recipient.
- Since:
- 10.0.120
-