Interface AgentTicketAnsweredClearanceRequiredEvent
- All Superinterfaces:
AgentTicketClearanceRequiredEvent,Event,IncomingMessageInfo,IssueRoutingInfo,MessageInfo,OutgoingMessageInfo,TicketAnsweredEvent,TicketClearanceRequiredEvent,TicketEvent,TicketProvider,TicketRoutingInfo,TicketStateChangedEvent,UserProvider,UserTicketEvent
public interface AgentTicketAnsweredClearanceRequiredEvent
extends TicketAnsweredEvent, AgentTicketClearanceRequiredEvent
This event is triggered when a ticket has been answered by an agent and now is waiting for clearance before being sent. The requirement of clearance can be applied by the agent, e.g. because of individual user configuration or explicitly desired by the agent for this ticked only, or also due to the category configuration requiring clearance.
- Since:
- 12.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the user that sent the message.default booleanThe 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
getEventDateMethods inherited from interface com.novomind.ecom.api.imail.model.IncomingMessageInfo
getIncomingAccount, getIncomingChannel, getIncomingMessageMethods inherited from interface com.novomind.ecom.api.imail.model.IssueRoutingInfo
getCurrentAssignedAgent, getExpectedWaitTime, getLastAssignedAgent, getNumberOfAvailableAgents, getRoutingDuration, getWaitingPositionMethods inherited from interface com.novomind.ecom.api.imail.model.MessageInfo
getTicketIdMethods inherited from interface com.novomind.ecom.api.imail.model.OutgoingMessageInfo
getOutgoingMessageMethods inherited from interface com.novomind.ecom.api.imail.routing.event.TicketClearanceRequiredEvent
getTicketStateMethods inherited from interface com.novomind.ecom.api.imail.provider.TicketProvider
getTicketMethods inherited from interface com.novomind.ecom.api.imail.model.TicketRoutingInfo
getDueDateOptionalMethods inherited from interface com.novomind.ecom.api.imail.common.event.TicketStateChangedEvent
getPreviousTicketStateMethods inherited from interface com.novomind.ecom.api.iagent.provider.UserProvider
getUser
-
Method Details
-
getSendingUser
Description copied from interface:OutgoingMessageInfoReturns the user that sent the message.- Specified by:
getSendingUserin interfaceOutgoingMessageInfo- Returns:
- an Optional containing the user that sent the message, or an empty Optional if the sender is an external address or the message was sent automatically
-
isClearanceRequired
default boolean isClearanceRequired()Description copied from interface:TicketAnsweredEventThe method indicates if the message requires a clearance before being sent to the customer.- Specified by:
isClearanceRequiredin interfaceTicketAnsweredEvent- Returns:
- true if a clearance is required for this message, otherwise false
-