Class Transcripts.TranscriptSummary
java.lang.Object
org.jivesoftware.smackx.workgroup.packet.Transcripts.TranscriptSummary
- Enclosing class:
- Transcripts
A TranscriptSummary contains some information about a conversation such as the ID of the
session or the date when the conversation started and finished. You will need to use the
sessionID to get the full conversation transcript.
-
Constructor Summary
ConstructorDescriptionTranscriptSummary
(String sessionID, Date joinTime, Date leftTime, List<Transcripts.AgentDetail> agentDetails) -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of AgentDetails.Returns the Date when the conversation started.Returns the Date when the conversation finished.Returns the ID of the session that is related to this conversation transcript.toXML()
-
Constructor Details
-
TranscriptSummary
public TranscriptSummary(String sessionID, Date joinTime, Date leftTime, List<Transcripts.AgentDetail> agentDetails)
-
-
Method Details
-
getSessionID
Returns the ID of the session that is related to this conversation transcript. The sessionID could be used for getting the full conversation transcript.- Returns:
- the ID of the session that is related to this conversation transcript.
-
getJoinTime
Returns the Date when the conversation started.- Returns:
- the Date when the conversation started.
-
getLeftTime
Returns the Date when the conversation finished.- Returns:
- the Date when the conversation finished.
-
getAgentDetails
Returns a list of AgentDetails. For each Agent that was involved in the conversation the list will include an AgentDetail. An AgentDetail contains the JID of the agent as well as the time when the Agent joined and left the conversation.- Returns:
- a list of AgentDetails.
-
toXML
-