public class Transcripts
extends org.jivesoftware.smack.packet.IQ
Transcript
Modifier and Type | Class and Description |
---|---|
static class |
Transcripts.AgentDetail
An AgentDetail contains information of an Agent that was involved in a conversation.
|
static class |
Transcripts.TranscriptSummary
A TranscriptSummary contains some information about a conversation such as the ID of the
session or the date when the conversation started and finished.
|
Constructor and Description |
---|
Transcripts(org.jxmpp.jid.Jid userID)
Creates a transcripts request for the given userID.
|
Transcripts(org.jxmpp.jid.Jid userID,
java.util.List<Transcripts.TranscriptSummary> summaries)
Creates a Transcripts which will contain the transcript summaries of the given user.
|
Modifier and Type | Method and Description |
---|---|
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder |
getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf) |
java.util.List<Transcripts.TranscriptSummary> |
getSummaries()
Returns a list of TranscriptSummary.
|
org.jxmpp.jid.Jid |
getUserID()
Returns the id of the user that was involved in the conversations.
|
createErrorResponse, createErrorResponse, createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementXML, getType, initialzeAsResultFor, isRequestIQ, setType, toString, toXML
addCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensions, getExtensionsXML, getFrom, getLanguage, getPacketID, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, logCommonAttributes, overrideExtension, removeExtension, removeExtension, setError, setError, setFrom, setFrom, setLanguage, setPacketID, setStanzaId, setStanzaId, setTo, setTo
public Transcripts(org.jxmpp.jid.Jid userID)
userID
- the id of the user to get his conversations transcripts.public Transcripts(org.jxmpp.jid.Jid userID, java.util.List<Transcripts.TranscriptSummary> summaries)
userID
- the id of the user. Could be a real JID or a unique String that identifies
anonymous users.summaries
- the list of TranscriptSummaries.public org.jxmpp.jid.Jid getUserID()
public java.util.List<Transcripts.TranscriptSummary> getSummaries()
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf)
getIQChildElementBuilder
in class org.jivesoftware.smack.packet.IQ