Class Transcripts.TranscriptSummary
- java.lang.Object
-
- org.jivesoftware.smackx.workgroup.packet.Transcripts.TranscriptSummary
-
- Enclosing class:
- Transcripts
public static class Transcripts.TranscriptSummary extends java.lang.Object
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
Constructors Constructor Description TranscriptSummary(java.lang.String sessionID, java.util.Date joinTime, java.util.Date leftTime, java.util.List<Transcripts.AgentDetail> agentDetails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Transcripts.AgentDetail>
getAgentDetails()
Returns a list of AgentDetails.java.util.Date
getJoinTime()
Returns the Date when the conversation started.java.util.Date
getLeftTime()
Returns the Date when the conversation finished.java.lang.String
getSessionID()
Returns the ID of the session that is related to this conversation transcript.java.lang.String
toXML()
-
-
-
Constructor Detail
-
TranscriptSummary
public TranscriptSummary(java.lang.String sessionID, java.util.Date joinTime, java.util.Date leftTime, java.util.List<Transcripts.AgentDetail> agentDetails)
-
-
Method Detail
-
getSessionID
public java.lang.String 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
public java.util.Date getJoinTime()
Returns the Date when the conversation started.- Returns:
- the Date when the conversation started.
-
getLeftTime
public java.util.Date getLeftTime()
Returns the Date when the conversation finished.- Returns:
- the Date when the conversation finished.
-
getAgentDetails
public java.util.List<Transcripts.AgentDetail> 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
public java.lang.String toXML()
-
-