public class Transcripts extends 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.
|
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE| 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 |
|---|---|
java.lang.String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one.
|
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, getType, setType, toXMLaddCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toStringpublic 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()
public java.lang.String getChildElementXML()
IQExtensions of this class must override this method.
getChildElementXML in class IQ