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(java.lang.String userID)
Creates a transcripts request for the given userID.
|
Transcripts(java.lang.String 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.
|
java.lang.String |
getUserID()
Returns the id of the user that was involved in the conversations.
|
createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementXML, getType, isRequestIQ, setType, toXML
addCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensions, getExtensionsXML, getFrom, getLanguage, getPacketID, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, removeExtension, removeExtension, setError, setFrom, setLanguage, setPacketID, setStanzaId, setTo, toString
public Transcripts(java.lang.String userID)
userID
- the id of the user to get his conversations transcripts.public Transcripts(java.lang.String 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 java.lang.String 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