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