Interface AgentActionHandler
public interface AgentActionHandler
This handler provides information about the agent's state
and functions to perform specific actions for the agent.
This handler is only available in the novomind iAGENT routing process
and also in the novomind iAGENT Desk process.
- Since:
- 11.16
-
Method Summary
Modifier and TypeMethodDescriptiongetAgentAvailability(User user) This method returns theModifiableAgentAvailabilityfor an agent.getAgentAvailability(User user, AgentGroup agentGroup) This method returns theModifiableAgentAvailabilityfor an Agent and an AgentGroup.getAgentPauseState(User user) This method returns theModifiableAgentPauseStatefor an agent.This method returns theModifiableAgentPostProcessingStatefor an agent.This method returns theAgentQuickCaseOperationBuilderfor an agent.This method returns theUserNotificationOperationBuilderfor an agent.
-
Method Details
-
getAgentAvailability
This method returns theModifiableAgentAvailabilityfor an agent. TheModifiableAgentAvailabilityallows to retrieve and modify the availability state for an agent generally or alternatively for each module (Mail, Chat, Call) separately.- Parameters:
user- The agent to get theModifiableAgentAvailability.- Returns:
- The
ModifiableAgentAvailabilityfor the given agent - Throws:
WrongArgumentException- if the given user is not an agent- Since:
- 11.16
-
getAgentAvailability
ModifiableAgentAvailability getAgentAvailability(User user, AgentGroup agentGroup) throws WrongArgumentException This method returns theModifiableAgentAvailabilityfor an Agent and an AgentGroup. TheModifiableAgentAvailabilityallows to retrieve and modify the agent's availability state only for the specifiedAgentGroupmembership generally or alternatively for each module (Mail, Chat, Call) separately.- Parameters:
user- The agent to get theModifiableAgentAvailability.agentGroup- The agent group to get theModifiableAgentAvailability.- Returns:
- The
ModifiableAgentAvailabilityfor the given agent and agent group - Throws:
WrongArgumentException- if the given user is not an agent or the agentGroup is not assigned to the agent- Since:
- 12.10
-
getAgentPauseState
This method returns theModifiableAgentPauseStatefor an agent. TheModifiableAgentPauseStateallows to retrieve and modify the pause state for an agent.- Parameters:
user- The agent to get theModifiableAgentPauseState.- Returns:
- The
ModifiableAgentPauseStatefor the given agent - Throws:
WrongArgumentException- if the given user is not an agent- Since:
- 11.16
-
getAgentPostProcessingState
ModifiableAgentPostProcessingState getAgentPostProcessingState(User user) throws WrongArgumentException This method returns theModifiableAgentPostProcessingStatefor an agent. TheModifiableAgentPostProcessingStateallows to retrieve and modify the post processing state for an agent.- Parameters:
user- The agent to get theModifiableAgentPostProcessingState.- Returns:
- The
ModifiableAgentPostProcessingStatefor the given agent - Throws:
WrongArgumentException- if the given user is not an agent- Since:
- 11.18
-
getAgentQuickCaseOperationBuilder
AgentQuickCaseOperationBuilder getAgentQuickCaseOperationBuilder(User user) throws WrongArgumentException This method returns theAgentQuickCaseOperationBuilderfor an agent. TheAgentQuickCaseOperationBuilderallows to build a quick case operation for an agent.- Parameters:
user- The agent to get theAgentQuickCaseOperationBuilderfor.- Returns:
- The
AgentQuickCaseOperationBuilderfor the given agent - Throws:
WrongArgumentException- if the given user is not an agent- Since:
- 11.18
-
getUserNotificationOperationBuilder
UserNotificationOperationBuilder getUserNotificationOperationBuilder(User user) throws WrongArgumentException This method returns theUserNotificationOperationBuilderfor an agent. TheUserNotificationOperationBuilderallows to build a user notification operation for an agent.- Parameters:
user- The agent to get theUserNotificationOperationBuilderfor.- Returns:
- The
UserNotificationOperationBuilderfor the given agent - Throws:
WrongArgumentException- if the given user is not an agent- Since:
- 12.13
-