Interface TicketRoutingInfo
-
- All Known Subinterfaces:
AgentBacklogMailInfoViewContext
,AgentOutgoingMailInfoViewContext
,AgentTicketAnsweredClearanceRequiredEvent
,AgentTicketAnsweredEvent
,AgentTicketInternalForwardedEvent
,AgentTicketRequeuedEvent
,AgentTicketResubmittedEvent
,AutoTicketAnsweredClearanceRequiredEvent
,AutoTicketAnsweredEvent
,AutoTicketInternalForwardedEvent
,AutoTicketRequeuedEvent
,AutoTicketResubmittedEvent
,BacklogMailInfoViewContext
,BacklogMessageInfo
,ExternalTicketAnsweredClearanceRequiredEvent
,ExternalTicketAnsweredEvent
,OutgoingMailInfoViewContext
,OutgoingMessageInfo
,PostIncomingMessageEvent
,SupervisorTicketInternalForwardedEvent
,SupervisorTicketRequeuedEvent
,TicketAnsweredEvent
,TicketEnqueuedEvent
,TicketInternalForwardedEvent
,TicketQueuedEvent
,TicketRequeuedEvent
,TicketResubmittedEvent
,UserTicketInternalForwardedEvent
,UserTicketRequeuedEvent
public interface TicketRoutingInfo
The interfaceTicketRoutingInfo
provides additional information about the routing of aTicket
.- Since:
- 12.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<User>
getCurrentAssignedAgent()
The method returns the currently assigned agent of the ticket.java.util.Optional<java.util.Date>
getDueDateOptional()
The method returns the due date of the ticket, if the ticket currently is resubmitted or internally forwarded.java.util.Optional<User>
getLastAssignedAgent()
The method returns the last assigned agent of the ticket which also includes the currently assigned agent.
-
-
-
Method Detail
-
getLastAssignedAgent
java.util.Optional<User> getLastAssignedAgent()
The method returns the last assigned agent of the ticket which also includes the currently assigned agent. If the ticket never has been assigned to an agent previously, an empty optional is returned.- Returns:
- the last assigned agent of the ticket or an empty optional if no agent has been assigned yet.
- Since:
- 12.0.0
-
getCurrentAssignedAgent
java.util.Optional<User> getCurrentAssignedAgent()
The method returns the currently assigned agent of the ticket. If the ticket currently is not assigned, an empty optional is returned.- Returns:
- the currently assigned agent of the ticket or an empty optional if the ticket currently is not assigned.
- Since:
- 12.0.0
-
getDueDateOptional
java.util.Optional<java.util.Date> getDueDateOptional()
The method returns the due date of the ticket, if the ticket currently is resubmitted or internally forwarded. If the ticket currently is resubmitted, the returned date is the due date when the ticket will be resubmitted to the addressed agent. If the ticket currently is internally forwarded, the returned date is the due date until the ticket will be forwarded to the addressed agent.- Returns:
- the due date of the ticket if the ticket currently is resubmitted or internally forwarded, or otherwise en empty optional.
- Since:
- 12.7
-
-