public class TranscriptManager
extends java.lang.Object
getTranscript(Jid, String) or to retrieve a list with the summary of all the
conversations that a user had getTranscripts(Jid, Jid).| Constructor and Description |
|---|
TranscriptManager(org.jivesoftware.smack.XMPPConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
Transcript |
getTranscript(org.jxmpp.jid.Jid workgroupJID,
java.lang.String sessionID)
Returns the full conversation transcript of a given session.
|
Transcripts |
getTranscripts(org.jxmpp.jid.Jid workgroupJID,
org.jxmpp.jid.Jid userID)
Returns the transcripts of a given user.
|
public TranscriptManager(org.jivesoftware.smack.XMPPConnection connection)
public Transcript getTranscript(org.jxmpp.jid.Jid workgroupJID, java.lang.String sessionID) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
sessionID - the id of the session to get the full transcript.workgroupJID - the JID of the workgroup that will process the request.org.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionjava.lang.InterruptedExceptionpublic Transcripts getTranscripts(org.jxmpp.jid.Jid workgroupJID, org.jxmpp.jid.Jid userID) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
userID - the id of the user to get his conversations.workgroupJID - the JID of the workgroup that will process the request.org.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionjava.lang.InterruptedException