| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.sparkimpl.plugin.transcripts.ChatTranscriptPlugin
public class ChatTranscriptPlugin
The ChatTranscriptPlugin is responsible for transcript handling within Spark.
| Constructor Summary | |
|---|---|
ChatTranscriptPlugin()
 | 
|
| Method Summary | |
|---|---|
 boolean | 
canShutDown()
 | 
 void | 
chatRoomActivated(ChatRoom room)
Invoked by ChatRooms when a ChatRoom has been activated. | 
 void | 
chatRoomClosed(ChatRoom room)
Invoke by ChatRooms when a ChatRoom has been closed. | 
 void | 
chatRoomLeft(ChatRoom room)
Invoked by ChatRooms when a ChatRoom has been left, but not
 closed. | 
 void | 
chatRoomOpened(ChatRoom room)
Invoked by ChatRooms when a new ChatRoom has been opened. | 
 void | 
initialize()
Register the listeners for transcript persistence.  | 
 void | 
persistConversations()
 | 
 void | 
uninstall()
 | 
 void | 
userHasJoined(ChatRoom room,
              java.lang.String userid)
Invoked by ChatRooms when a person has joined a chat room. | 
 void | 
userHasLeft(ChatRoom room,
            java.lang.String userid)
Invoked by ChatRooms when a person has left a chat room. | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ChatTranscriptPlugin()
| Method Detail | 
|---|
public void initialize()
public void persistConversations()
public boolean canShutDown()
public void chatRoomOpened(ChatRoom room)
ChatRoomListenerChatRooms when a new ChatRoom has been opened.
chatRoomOpened in interface ChatRoomListenerroom - - the ChatRoom that has been opened.ChatContainerpublic void chatRoomLeft(ChatRoom room)
ChatRoomListenerChatRooms when a ChatRoom has been left, but not
 closed.
chatRoomLeft in interface ChatRoomListenerroom - - the ChatRoom that has been left.ChatContainerpublic void chatRoomClosed(ChatRoom room)
ChatRoomListenerChatRooms when a ChatRoom has been closed.
chatRoomClosed in interface ChatRoomListenerroom - - the ChatRoom that has been closed.public void chatRoomActivated(ChatRoom room)
ChatRoomListenerChatRooms when a ChatRoom has been activated.
 i.e. it has already been opened, but was deactivated when the user
 selected a new chat room, but now has selected the old one.
chatRoomActivated in interface ChatRoomListenerroom - - the ChatRoom that has been selected.
public void userHasJoined(ChatRoom room,
                          java.lang.String userid)
ChatRoomListenerChatRooms when a person has joined a chat room.
userHasJoined in interface ChatRoomListenerroom - - the chat room the person has joineduserid - - the userid of the person who has joined
public void userHasLeft(ChatRoom room,
                        java.lang.String userid)
ChatRoomListenerChatRooms when a person has left a chat room.
userHasLeft in interface ChatRoomListenerroom - - the chat room the person has leftuserid - - the userid of the person who has leftpublic void uninstall()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||