Class AgentDeviceLoginResult
java.lang.Object
com.novomind.ecom.api.iagent.result.AgentDeviceLoginResult
An
AgentDeviceLoginResult provides all information
about the successful agent login on an agent device.
An AgentDeviceLoginResult is provided by the AgentDeviceControlConnector.loginAgent(com.novomind.ecom.api.iagent.request.AgentDeviceLoginRequest) method.- Since:
- 11.27
-
Constructor Summary
ConstructorsConstructorDescriptionAgentDeviceLoginResult(AgentDevice agentDevice) Constructs a newAgentDeviceLoginResultwith the specified agent device. -
Method Summary
Modifier and TypeMethodDescriptionReturns theAgentDeviceassociated with this login result.getAttribute(String key) Returns the value to which the specified key is mapped, ornullif no mapping for the key exists.The method returns all available attributesbooleanReturns true if the plugin is able to start outgoing calls, otherwise false.setAttribute(String key, String value) The method stores key-value pairs that will be available and accessible to other plugins.setOutgoingCallCapability(boolean outgoingCallCapability) Sets the capability of starting outgoing calls.
-
Constructor Details
-
AgentDeviceLoginResult
Constructs a newAgentDeviceLoginResultwith the specified agent device.- Parameters:
agentDevice- theAgentDeviceassociated with this login result
-
-
Method Details
-
getAgentDevice
Returns theAgentDeviceassociated with this login result.- Returns:
- the
AgentDevice - Since:
- 11.27
-
hasOutgoingCallCapability
public boolean hasOutgoingCallCapability()Returns true if the plugin is able to start outgoing calls, otherwise false.- Returns:
- true if the plugin is able to start outgoing calls, otherwise false
- Since:
- 11.27
-
setOutgoingCallCapability
Sets the capability of starting outgoing calls.- Parameters:
outgoingCallCapability- the capability of starting outgoing calls- Returns:
- the
AgentDeviceLoginResult - Since:
- 11.27
-
setAttribute
The method stores key-value pairs that will be available and accessible to other plugins.- Parameters:
key- the attribute keyvalue- the attribute value- Returns:
- the
AgentDeviceLoginResult - Since:
- 11.27
-
getAttribute
Returns the value to which the specified key is mapped, ornullif no mapping for the key exists.- Parameters:
key- the attribute key- Returns:
- the value of the attribute or
nullif no mapping for the key exists - Since:
- 11.27
-
getAttributes
The method returns all available attributes- Returns:
- the set of attributes
- Since:
- 11.27
-