Smack

org.jivesoftware.smackx.workgroup.packet
Class Transcripts.TranscriptSummary

java.lang.Object
  extended by 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
Transcripts.TranscriptSummary(String sessionID, Date joinTime, Date leftTime, List<Transcripts.AgentDetail> agentDetails)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transcripts.TranscriptSummary

public Transcripts.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.

toXML

public String toXML()

Smack

Copyright © 2003-2007 Jive Software.