lumis.collaboration.chat
Class ChatMessageConfig

Package class diagram package ChatMessageConfig
java.lang.Object
  extended by lumis.collaboration.chat.ChatMessageConfig

public class ChatMessageConfig
extends Object

Object that represents a chat message

Since:
4.0.5

Field Summary
static int TYPE_FRAMEWORK
           
static int TYPE_USER
           
 
Constructor Summary
ChatMessageConfig()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

ChatMessageConfig

public ChatMessageConfig()
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)


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.