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