Interface ModifiableAgentPauseState
- All Superinterfaces:
AgentPauseState
This interface provides information about the agent pause
state and also allows to change it. Any changes applied to an instance
of
ModifiableAgentPauseState
will take effect immediately.- Since:
- 11.16
-
Method Summary
Modifier and TypeMethodDescriptionboolean
pause()
This method puts the agent into pause state.boolean
pause
(PauseReason pauseReason) This method puts the agent into pause state with the specifiedPauseReason
.boolean
resume()
This method resumes the agent from pause state.Methods inherited from interface com.novomind.ecom.api.iagent.common.AgentPauseState
getPauseReason, isPaused, isPauseRequested
-
Method Details
-
pause
This method puts the agent into pause state. Please note that the agent pause state can only be applied to aUser
that is logged on as agent at the iAGENT Desk.- Returns:
- true if the state has been changed
- Throws:
OperationFailedException
- if the operation failed e.g. in case of logged off agent- Since:
- 11.16
-
pause
This method puts the agent into pause state with the specifiedPauseReason
. Please note that the agent pause state can only be applied to aUser
that is logged on as agent at the iAGENT Desk.- Parameters:
pauseReason
- ThePauseReason
for the pause- Returns:
- true if the state has been changed
- Throws:
OperationFailedException
- if the operation failed e.g. in case of logged off agent- Since:
- 11.16
-
resume
This method resumes the agent from pause state. Please note that the agent pause state can only be resumed for aUser
that is logged on as agent at the iAGENT Desk.- Returns:
- true if the state has been changed
- Throws:
OperationFailedException
- if the operation failed e.g. in case of logged off agent- Since:
- 11.16
-