Interface TicketStateChangedEvent
-
- All Superinterfaces:
Event
,IncomingMessageInfo
,MessageInfo
,TicketEvent
,TicketProvider
- All Known Subinterfaces:
AgentExternalForwardMessageSentAndTicketClosedEvent
,AgentInternalForwardedTicketRoutedEvent
,AgentMessageSentAndTicketClosedEvent
,AgentPhoneTicketCreatedEvent
,AgentQuickCaseTicketCreatedEvent
,AgentResubmittedTicketRoutedEvent
,AgentTicketAnsweredClearanceRequiredEvent
,AgentTicketAnsweredEvent
,AgentTicketClearanceRequiredEvent
,AgentTicketClosedEvent
,AgentTicketForwardedAndClosedEvent
,AgentTicketInternalForwardedEvent
,AgentTicketManuallyRoutedEvent
,AgentTicketRequeuedEvent
,AgentTicketResubmittedEvent
,AutoExternalForwardMessageSentAndTicketClosedEvent
,AutoInternalForwardedTicketRoutedEvent
,AutoMessageSentAndTicketClosedEvent
,AutoResubmittedTicketRoutedEvent
,AutoTicketAnsweredClearanceRequiredEvent
,AutoTicketAnsweredEvent
,AutoTicketClosedEvent
,AutoTicketForwardedAndClosedEvent
,AutoTicketInternalForwardedEvent
,AutoTicketRequeuedEvent
,AutoTicketResubmittedEvent
,AutoTicketRoutedEvent
,ExternalForwardMessageSentAndTicketClosedEvent
,ExternalMessageSentAndTicketClosedEvent
,ExternalTicketAnsweredClearanceRequiredEvent
,ExternalTicketAnsweredEvent
,ExternalTicketClosedEvent
,MessageSentAndTicketClosedEvent
,SupervisorExternalForwardMessageSentAndTicketClosedEvent
,SupervisorInternalForwardedTicketRoutedEvent
,SupervisorTicketClosedEvent
,SupervisorTicketForwardedAndClosedEvent
,SupervisorTicketInternalForwardedEvent
,SupervisorTicketManuallyRoutedEvent
,SupervisorTicketRequeuedEvent
,TicketAnsweredEvent
,TicketClearanceRequiredEvent
,TicketClosedEvent
,TicketCreatedEvent
,TicketEnqueuedEvent
,TicketInternalForwardedEvent
,TicketQueuedEvent
,TicketRequeuedEvent
,TicketResubmittedEvent
,TicketRoutedEvent
,UserTicketClosedEvent
,UserTicketInternalForwardedEvent
,UserTicketRequeuedEvent
,UserTicketRoutedEvent
public interface TicketStateChangedEvent extends TicketEvent
This interface represents all ticket events causing a change of theTicketState
.- Since:
- 12.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<TicketState>
getPreviousTicketState()
TicketState
getTicketState()
-
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.provider.TicketProvider
getTicket
-
-
-
-
Method Detail
-
getPreviousTicketState
java.util.Optional<TicketState> getPreviousTicketState()
- Returns:
- the
TicketState
of the ticket before the state change, if available or an empty optional in case of an initial event e.g.TicketCreatedEvent
- Since:
- 12.0
-
getTicketState
TicketState getTicketState()
- Returns:
- the new
TicketState
of the ticket after the state change - Since:
- 12.0
-
-