Package lumis.collaboration.chat
Class ChatMessageConfig
- java.lang.Object
-
- lumis.collaboration.chat.ChatMessageConfig
-
public class ChatMessageConfig extends 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 String
getConversationId()
String
getFromUserId()
String
getId()
String
getMessage()
Date
getSentTime()
String
getStyle()
int
getTone()
String
getToUserId()
int
getType()
boolean
isApproved()
boolean
isModerated()
boolean
isPrivateMessage()
void
setApproved(boolean approved)
void
setConversationId(String conversationId)
void
setFromUserId(String fromUserId)
void
setId(String id)
void
setMessage(String message)
void
setModerated(boolean moderated)
void
setPrivateMessage(boolean privateMessage)
void
setSentTime(Date sentTime)
void
setStyle(String style)
void
setTone(int tone)
void
setToUserId(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 String getConversationId()
- Returns:
- Returns the conversationId.
-
setConversationId
public void setConversationId(String conversationId)
- Parameters:
conversationId
- The conversationId to set.
-
getFromUserId
public String getFromUserId()
- Returns:
- Returns the fromUserId.
-
setFromUserId
public void setFromUserId(String fromUserId)
- Parameters:
fromUserId
- The fromUserId to set.
-
getId
public String getId()
- Returns:
- Returns the id.
-
setId
public void setId(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 Date getSentTime()
- Returns:
- Returns the sentTime.
-
setSentTime
public void setSentTime(Date sentTime)
- Parameters:
sentTime
- The sentTime to set.
-
getToUserId
public String getToUserId()
- Returns:
- Returns the toUserId.
-
setToUserId
public void setToUserId(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 String getMessage()
- Returns:
- Returns the message.
-
setMessage
public void setMessage(String message)
- Parameters:
message
- The message to set.
-
getStyle
public String getStyle()
- Returns:
- Returns the style.
-
setStyle
public void setStyle(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)
-
-