|
Openfire 3.3.2 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.openfire.muc.MUCRoomHistory
public final class MUCRoomHistory
Represent the data model for one MUCRoom
history. Including chat transcript,
joining and leaving times.
Constructor Summary | |
---|---|
MUCRoomHistory(MUCRoom mucRoom,
HistoryStrategy historyStrategy)
|
Method Summary | |
---|---|
void |
addMessage(Message packet)
|
void |
addOldMessage(String senderJID,
String nickname,
Date sentDate,
String subject,
String body)
Creates a new message and adds it to the history. |
Iterator |
getMessageHistory()
|
ListIterator |
getReverseMessageHistory()
Obtain the current history to be iterated in reverse mode. |
boolean |
hasChangedSubject()
Returns true if there is a message within the history of the room that has changed the room's subject. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MUCRoomHistory(MUCRoom mucRoom, HistoryStrategy historyStrategy)
Method Detail |
---|
public void addMessage(Message packet)
public Iterator getMessageHistory()
public ListIterator getReverseMessageHistory()
public void addOldMessage(String senderJID, String nickname, Date sentDate, String subject, String body)
senderJID
- the sender's JID of the message to add to the history.nickname
- the sender's nickname of the message to add to the history.sentDate
- the date when the message was sent to the room.subject
- the subject included in the message.body
- the body of the message.public boolean hasChangedSubject()
|
Openfire 3.3.2 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |