Package lumis.collaboration.chat
Class ChatUserConfig
- java.lang.Object
-
- lumis.collaboration.chat.ChatUserConfig
-
public class ChatUserConfig extends java.lang.Object
Object that represents a chat user- Since:
- 4.0.5
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
blocked
static int
CHAT_USER_STATE_ACTIVE
static int
CHAT_USER_STATE_INACTIVE
protected java.lang.String
conversationId
protected java.lang.String
id
protected java.util.Date
lastAccessDate
protected java.lang.String
name
protected int
state
protected java.lang.String
userId
protected java.lang.String
userSessionId
-
Constructor Summary
Constructors Constructor Description ChatUserConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConversationId()
java.lang.String
getId()
java.util.Date
getLastAccessDate()
java.lang.String
getName()
int
getState()
java.lang.String
getUserId()
java.lang.String
getUserSessionId()
boolean
isBlocked()
void
setBlocked(boolean blocked)
void
setConversationId(java.lang.String conversatinoId)
void
setId(java.lang.String id)
void
setLastAccessDate(java.util.Date lastAccessDate)
void
setName(java.lang.String name)
void
setState(int state)
void
setUserId(java.lang.String userId)
void
setUserSessionId(java.lang.String userSessionId)
-
-
-
Field Detail
-
CHAT_USER_STATE_INACTIVE
public static final int CHAT_USER_STATE_INACTIVE
- See Also:
- Constant Field Values
-
CHAT_USER_STATE_ACTIVE
public static final int CHAT_USER_STATE_ACTIVE
- See Also:
- Constant Field Values
-
id
protected java.lang.String id
-
name
protected java.lang.String name
-
userSessionId
protected java.lang.String userSessionId
-
userId
protected java.lang.String userId
-
conversationId
protected java.lang.String conversationId
-
state
protected int state
-
lastAccessDate
protected java.util.Date lastAccessDate
-
blocked
protected boolean blocked
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- Returns the id.
-
setId
public void setId(java.lang.String id)
- Parameters:
id
- The id to set.
-
getName
public java.lang.String getName()
- Returns:
- Returns the name.
-
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name to set.
-
getState
public int getState()
- Returns:
- Returns the state.
-
setState
public void setState(int state)
- Parameters:
state
- The state to set.
-
getUserSessionId
public java.lang.String getUserSessionId()
- Returns:
- Returns the userSessionId.
-
setUserSessionId
public void setUserSessionId(java.lang.String userSessionId)
- Parameters:
userSessionId
- The userSessionId to set.
-
getUserId
public java.lang.String getUserId()
- Returns:
- Returns the userId.
-
setUserId
public void setUserId(java.lang.String userId)
- Parameters:
userId
- The userId to set.
-
getConversationId
public java.lang.String getConversationId()
- Returns:
- Returns the conversatinoId.
-
setConversationId
public void setConversationId(java.lang.String conversatinoId)
- Parameters:
conversatinoId
- The conversatinoId to set.
-
getLastAccessDate
public java.util.Date getLastAccessDate()
- Returns:
- Returns the lastAccessDate.
-
setLastAccessDate
public void setLastAccessDate(java.util.Date lastAccessDate)
- Parameters:
lastAccessDate
- The lastAccessDate to set.
-
isBlocked
public boolean isBlocked()
-
setBlocked
public void setBlocked(boolean blocked)
-
-