org.jivesoftware.smackx.workgroup.agent
Class TranscriptManager
java.lang.Object
org.jivesoftware.smackx.workgroup.agent.TranscriptManager
public class TranscriptManager
- extends java.lang.Object
A TranscriptManager helps to retrieve the full conversation transcript of a given session
getTranscript(String, String) or to retrieve a list with the summary of all the
conversations that a user had getTranscripts(String, String).
- Author:
- Gaston Dombiak
|
Method Summary |
Transcript |
getTranscript(java.lang.String workgroupJID,
java.lang.String sessionID)
Returns the full conversation transcript of a given session. |
Transcripts |
getTranscripts(java.lang.String workgroupJID,
java.lang.String userID)
Returns the transcripts of a given user. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TranscriptManager
public TranscriptManager(Connection connection)
getTranscript
public Transcript getTranscript(java.lang.String workgroupJID,
java.lang.String sessionID)
throws XMPPException
- Returns the full conversation transcript of a given session.
- Parameters:
sessionID - the id of the session to get the full transcript.workgroupJID - the JID of the workgroup that will process the request.
- Returns:
- the full conversation transcript of a given session.
- Throws:
XMPPException - if an error occurs while getting the information.
getTranscripts
public Transcripts getTranscripts(java.lang.String workgroupJID,
java.lang.String userID)
throws XMPPException
- Returns the transcripts of a given user. The answer will contain the complete history of
conversations that a user had.
- Parameters:
userID - the id of the user to get his conversations.workgroupJID - the JID of the workgroup that will process the request.
- Returns:
- the transcripts of a given user.
- Throws:
XMPPException - if an error occurs while getting the information.
Copyright © 2003-2007 Jive Software.