Package lumis.collaboration.chat
Class ChatMessageConfig
- java.lang.Object
-
- lumis.collaboration.chat.ChatMessageConfig
-
public class ChatMessageConfig extends java.lang.Object
Object that represents a chat message- Since:
- 4.0.5
- Version:
- $Revision: 16294 $ $Date: 2014-06-24 13:51:20 -0300 (Tue, 24 Jun 2014) $
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_FRAMEWORK
static int
TYPE_USER
-
Constructor Summary
Constructors Constructor Description ChatMessageConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConversationId()
java.lang.String
getFromUserId()
java.lang.String
getId()
java.lang.String
getMessage()
java.util.Date
getSentTime()
java.lang.String
getStyle()
int
getTone()
java.lang.String
getToUserId()
int
getType()
boolean
isApproved()
boolean
isModerated()
boolean
isPrivateMessage()
void
setApproved(boolean approved)
void
setConversationId(java.lang.String conversationId)
void
setFromUserId(java.lang.String fromUserId)
void
setId(java.lang.String id)
void
setMessage(java.lang.String message)
void
setModerated(boolean moderated)
void
setPrivateMessage(boolean privateMessage)
void
setSentTime(java.util.Date sentTime)
void
setStyle(java.lang.String style)
void
setTone(int tone)
void
setToUserId(java.lang.String toUserId)
void
setType(int type)
-
-
-
Field Detail
-
TYPE_USER
public static final int TYPE_USER
- See Also:
- Constant Field Values
-
TYPE_FRAMEWORK
public static final int TYPE_FRAMEWORK
- See Also:
- Constant Field Values
-
-
Method Detail
-
getConversationId
public java.lang.String getConversationId()
- Returns:
- Returns the conversationId.
-
setConversationId
public void setConversationId(java.lang.String conversationId)
- Parameters:
conversationId
- The conversationId to set.
-
getFromUserId
public java.lang.String getFromUserId()
- Returns:
- Returns the fromUserId.
-
setFromUserId
public void setFromUserId(java.lang.String fromUserId)
- Parameters:
fromUserId
- The fromUserId to set.
-
getId
public java.lang.String getId()
- Returns:
- Returns the id.
-
setId
public void setId(java.lang.String id)
- Parameters:
id
- The id to set.
-
isPrivateMessage
public boolean isPrivateMessage()
- Returns:
- Returns the privateMessage.
-
setPrivateMessage
public void setPrivateMessage(boolean privateMessage)
- Parameters:
privateMessage
- The privateMessage to set.
-
getSentTime
public java.util.Date getSentTime()
- Returns:
- Returns the sentTime.
-
setSentTime
public void setSentTime(java.util.Date sentTime)
- Parameters:
sentTime
- The sentTime to set.
-
getToUserId
public java.lang.String getToUserId()
- Returns:
- Returns the toUserId.
-
setToUserId
public void setToUserId(java.lang.String toUserId)
- Parameters:
toUserId
- The toUserId to set.
-
getType
public int getType()
- Returns:
- Returns the type.
-
setType
public void setType(int type)
- Parameters:
type
- The type to set.
-
getMessage
public java.lang.String getMessage()
- Returns:
- Returns the message.
-
setMessage
public void setMessage(java.lang.String message)
- Parameters:
message
- The message to set.
-
getStyle
public java.lang.String getStyle()
- Returns:
- Returns the style.
-
setStyle
public void setStyle(java.lang.String style)
- Parameters:
style
- The style to set.
-
getTone
public int getTone()
- Returns:
- Returns the tone.
-
setTone
public void setTone(int tone)
- Parameters:
tone
- The tone to set.
-
isApproved
public boolean isApproved()
-
setApproved
public void setApproved(boolean approved)
-
isModerated
public boolean isModerated()
-
setModerated
public void setModerated(boolean moderated)
-
-