Interface ExternalTicketAnsweredEvent
-
- All Superinterfaces:
Event
,IncomingMessageInfo
,MessageInfo
,OutgoingMessageInfo
,TicketAnsweredEvent
,TicketEvent
,TicketProvider
,TicketRoutingInfo
,TicketStateChangedEvent
public interface ExternalTicketAnsweredEvent extends TicketAnsweredEvent
This event is triggered when a ticket has been answered by an external clerk and now is waiting to be sent to the customer in the next step. At this time the ticket usually is not closed yet. The ticket will be closed when the message has been sent successfully by the novomind iAGENT core process. To take any action when the message has been sent successfully please refer to the
MessageSentEventListener
Please note that aExternalTicketAnsweredEvent
may be triggered more than once.- Since:
- 11.23
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description javax.mail.internet.InternetAddress
getExternalAddress()
This method returns the email address of the external sender that has sent the message to the central outgoing queue.default TicketState
getTicketState()
default boolean
isClearanceRequired()
The method indicates if the message requires a clearance before being sent to the customer.-
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.model.OutgoingMessageInfo
getOutgoingMessage, getSendingUser
-
Methods inherited from interface com.novomind.ecom.api.imail.provider.TicketProvider
getTicket
-
Methods inherited from interface com.novomind.ecom.api.imail.model.TicketRoutingInfo
getCurrentAssignedAgent, getDueDateOptional, getLastAssignedAgent
-
Methods inherited from interface com.novomind.ecom.api.imail.common.event.TicketStateChangedEvent
getPreviousTicketState
-
-
-
-
Method Detail
-
getExternalAddress
javax.mail.internet.InternetAddress getExternalAddress()
This method returns the email address of the external sender that has sent the message to the central outgoing queue.- Returns:
- the email address of the external sender.
- Since:
- 11.23
-
getTicketState
default TicketState getTicketState()
- Specified by:
getTicketState
in interfaceTicketStateChangedEvent
- Returns:
- the new
TicketState
of the ticket after the state change
-
isClearanceRequired
default boolean isClearanceRequired()
Description copied from interface:TicketAnsweredEvent
The method indicates if the message requires a clearance before being sent to the customer.- Specified by:
isClearanceRequired
in interfaceTicketAnsweredEvent
- Returns:
- true if a clearance is required for this message, otherwise false
-
-