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 TypeMethodDescriptionbooleanpause()This method puts the agent into pause state.booleanpause(PauseReason pauseReason) This method puts the agent into pause state with the specifiedPauseReason.booleanresume()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 aUserthat 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 aUserthat is logged on as agent at the iAGENT Desk.- Parameters:
pauseReason- ThePauseReasonfor 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 aUserthat 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
-