Interface AgentTicketAnsweredClearanceRequiredEvent
-
- All Superinterfaces:
AgentTicketClearanceRequiredEvent
,Event
,IncomingMessageInfo
,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
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<User>
getSendingUser()
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
-
Methods inherited from interface com.novomind.ecom.api.imail.routing.event.TicketClearanceRequiredEvent
getTicketState
-
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
-
Methods inherited from interface com.novomind.ecom.api.iagent.provider.UserProvider
getUser
-
-
-
-
Method Detail
-
getSendingUser
default java.util.Optional<User> getSendingUser()
- Specified by:
getSendingUser
in interfaceOutgoingMessageInfo
- Returns:
- the user, that sent the message. If the sender of the message is an external address or has been sent automatically, the user will not be available.
-
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
-
-