com.jivesoftware.sparkimpl.preference.chat
Class ChatPreferences

java.lang.Object
  extended bycom.jivesoftware.sparkimpl.preference.chat.ChatPreferences

public class ChatPreferences
extends java.lang.Object

Model representing the Chat Preferences within Spark.


Constructor Summary
ChatPreferences()
           
 
Method Summary
 java.lang.String getNickname()
          Returns the nickname used by the agent.
 boolean showDatesInChat()
          Returns true if a timestamp should be used to show messages.
 void showDatesInChat(boolean showDatesInChat)
          Set to true to show timestamp of messages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatPreferences

public ChatPreferences()
Method Detail

showDatesInChat

public void showDatesInChat(boolean showDatesInChat)
Set to true to show timestamp of messages.

Parameters:
showDatesInChat - true to show timestamp of messages.

showDatesInChat

public boolean showDatesInChat()
Returns true if a timestamp should be used to show messages.

Returns:
true if the a timestamp should be used with the messages.

getNickname

public java.lang.String getNickname()
Returns the nickname used by the agent.

Returns:
the nickname used by the agent.