de.starface.integration.uci.java.v30.types
Class UserState

java.lang.Object
  extended by de.starface.integration.uci.java.v30.types.UserState
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
QueueAgentState

@RpcValueObject
public class UserState
extends Object
implements Serializable

This object holds the properties of the user state as returned by UciUserStateRequests.getUserState()

See Also:
Serialized Form

Field Summary
protected  String avatarHash
          The SHA-1 hash of the users avatar image if one is set.
protected  ChatPresence chatPresence
          The current chat presence of the user
protected  String chatPresenceMessage
          The current chat presence message of the user
protected  boolean doNotDisturbSetting
          A flag indicating whether the user has DND set to active
protected  boolean redirectAlwaysActive
          A flag indicating whether the user has any redirect always settings enabled
protected  TelephonyState telephonyState
          The current telephony state of the user
 
Constructor Summary
UserState()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAvatarHash()
           
 ChatPresence getChatPresence()
           
 String getChatPresenceMessage()
           
 TelephonyState getTelephonyState()
           
 int hashCode()
           
 boolean isDoNotDisturbSetting()
           
 boolean isRedirectAlwaysActive()
           
 void setAvatarHash(String hash)
           
 void setChatPresence(ChatPresence chatPresence)
           
 void setChatPresenceMessage(String chatPresenceMessage)
           
 void setDoNotDisturbSetting(boolean doNotDisturbSetting)
           
 void setRedirectAlwaysActive(boolean redirectAlwaysActive)
           
 void setTelephonyState(TelephonyState telephonyState)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

doNotDisturbSetting

@RpcValue
protected boolean doNotDisturbSetting
A flag indicating whether the user has DND set to active


redirectAlwaysActive

@RpcValue
protected boolean redirectAlwaysActive
A flag indicating whether the user has any redirect always settings enabled


chatPresence

@RpcValue
protected ChatPresence chatPresence
The current chat presence of the user


chatPresenceMessage

@RpcValue
protected String chatPresenceMessage
The current chat presence message of the user


avatarHash

@RpcValue
protected String avatarHash
The SHA-1 hash of the users avatar image if one is set. The image itself can be queried with UciUserStateRequests.getAvatarImage().


telephonyState

@RpcValue
protected TelephonyState telephonyState
The current telephony state of the user

Constructor Detail

UserState

public UserState()
Method Detail

isDoNotDisturbSetting

public boolean isDoNotDisturbSetting()

setDoNotDisturbSetting

public void setDoNotDisturbSetting(boolean doNotDisturbSetting)

isRedirectAlwaysActive

public boolean isRedirectAlwaysActive()

setRedirectAlwaysActive

public void setRedirectAlwaysActive(boolean redirectAlwaysActive)

getChatPresence

public ChatPresence getChatPresence()

setChatPresence

public void setChatPresence(ChatPresence chatPresence)

getChatPresenceMessage

public String getChatPresenceMessage()

setChatPresenceMessage

public void setChatPresenceMessage(String chatPresenceMessage)

getAvatarHash

public String getAvatarHash()

setAvatarHash

public void setAvatarHash(String hash)

getTelephonyState

public TelephonyState getTelephonyState()

setTelephonyState

public void setTelephonyState(TelephonyState telephonyState)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012 STARFACE GmbH. All rights reserved.