org.exoplatform.services.xmpp.history.impl.jcr
Class Conversation

java.lang.Object
  extended by org.exoplatform.services.xmpp.history.impl.jcr.Conversation

public class Conversation
extends java.lang.Object

Created by The eXo Platform SAS.

Version:
$Id: $
Author:
Vitaly Parfonov

Constructor Summary
Conversation()
           
Conversation(java.lang.String conversationId, java.util.Date lastActiveDate, java.util.Date startDate)
           
 
Method Summary
 void addMessage(HistoricalMessageImpl message)
           
 java.lang.String getConversationId()
           
 HistoricalMessageImpl getHistoricalMessage(java.lang.String id)
           
 java.util.Date getLastActiveDate()
           
 java.util.List<HistoricalMessageImpl> getMessageList()
           
 java.lang.String getPath()
           
 java.util.Date getStartDate()
           
 void setConversationId(java.lang.String conversationId)
           
 void setLastActiveDate(java.util.Date lastActiveDate)
           
 void setMessageList(java.util.List<HistoricalMessageImpl> messageList)
           
 void setPath(java.lang.String path)
           
 void setStartDate(java.util.Date startDate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Conversation

public Conversation()

Conversation

public Conversation(java.lang.String conversationId,
                    java.util.Date lastActiveDate,
                    java.util.Date startDate)
Parameters:
conversationId -
room -
lastActiveDate -
startDate -
Method Detail

addMessage

public void addMessage(HistoricalMessageImpl message)
Parameters:
message - the message

getConversationId

public java.lang.String getConversationId()
Returns:
the conversationId

getHistoricalMessage

public HistoricalMessageImpl getHistoricalMessage(java.lang.String id)
Parameters:
id - the id of message
Returns:
the message

getLastActiveDate

public java.util.Date getLastActiveDate()
Returns:
the lastActiveDate

getMessageList

public java.util.List<HistoricalMessageImpl> getMessageList()
Returns:
the messageList

getPath

public java.lang.String getPath()
Returns:
the path

getStartDate

public java.util.Date getStartDate()
Returns:
the startDate

setConversationId

public void setConversationId(java.lang.String conversationId)
Parameters:
conversationId - the conversationId to set

setLastActiveDate

public void setLastActiveDate(java.util.Date lastActiveDate)
Parameters:
lastActiveDate - the lastActiveDate to set

setMessageList

public void setMessageList(java.util.List<HistoricalMessageImpl> messageList)
Parameters:
messageList - the messageList to set

setPath

public void setPath(java.lang.String path)
Parameters:
path - the path to set

setStartDate

public void setStartDate(java.util.Date startDate)
Parameters:
startDate - the startDate to set


Copyright © 2010 eXo Platform SAS. All Rights Reserved.