|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.IQ
org.jivesoftware.smackx.workgroup.packet.Transcripts
public class Transcripts
Represents a list of conversation transcripts that a user had in all his history. Each
transcript summary includes the sessionID which may be used for getting more detailed
information about the conversation. Transcript
| Nested Class Summary | |
|---|---|
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. |
| Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ |
|---|
IQ.Type |
| Field Summary |
|---|
| Fields inherited from class org.jivesoftware.smack.packet.Packet |
|---|
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE |
| Constructor Summary | |
|---|---|
Transcripts(String userID)
Creates a transcripts request for the given userID. |
|
Transcripts(String userID,
List<Transcripts.TranscriptSummary> summaries)
Creates a Transcripts which will contain the transcript summaries of the given user. |
|
| Method Summary | |
|---|---|
String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there isn't one. |
List<Transcripts.TranscriptSummary> |
getSummaries()
Returns a list of TranscriptSummary. |
String |
getUserID()
Returns the id of the user that was involved in the conversations. |
| Methods inherited from class org.jivesoftware.smack.packet.IQ |
|---|
createErrorResponse, createResultIQ, getType, setType, toXML |
| Methods inherited from class org.jivesoftware.smack.packet.Packet |
|---|
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Transcripts(String userID)
userID - the id of the user to get his conversations transcripts.
public Transcripts(String userID,
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.| Method Detail |
|---|
public String getUserID()
public List<Transcripts.TranscriptSummary> getSummaries()
public String getChildElementXML()
IQExtensions of this class must override this method.
getChildElementXML in class IQ
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||