📄 agentsession.html
字号:
<TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#getMacros(boolean)">getMacros</A></B>(boolean global)</CODE><BR> Asks the workgroup for it's Global Macros.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#getMaxChats()">getMaxChats</A></B>()</CODE><BR> Returns the maximum number of chats the agent can participate in.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#getMetaData(java.lang.String)">getMetaData</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> key)</CODE><BR> Allows the retrieval of meta data for a specified key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/jivesoftware/smackx/workgroup/ext/notes/ChatNotes.html" title="class in org.jivesoftware.smackx.workgroup.ext.notes">ChatNotes</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#getNote(java.lang.String)">getNote</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sessionID)</CODE><BR> Retrieves the ChatNote associated with a given chat session.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/jivesoftware/smackx/workgroup/packet/OccupantsInfo.html" title="class in org.jivesoftware.smackx.workgroup.packet">OccupantsInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#getOccupantsInfo(java.lang.String)">getOccupantsInfo</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> roomID)</CODE><BR> Asks the workgroup for information about the occupants of the specified room.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/jivesoftware/smack/packet/Presence.Mode.html" title="enum in org.jivesoftware.smack.packet">Presence.Mode</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#getPresenceMode()">getPresenceMode</A></B>()</CODE><BR> Returns the agent's current presence mode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/WorkgroupQueue.html" title="class in org.jivesoftware.smackx.workgroup.agent">WorkgroupQueue</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#getQueue(java.lang.String)">getQueue</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> queueName)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A><<A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/WorkgroupQueue.html" title="class in org.jivesoftware.smackx.workgroup.agent">WorkgroupQueue</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#getQueues()">getQueues</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/jivesoftware/smackx/workgroup/settings/SearchSettings.html" title="class in org.jivesoftware.smackx.workgroup.settings">SearchSettings</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#getSearchSettings()">getSearchSettings</A></B>()</CODE><BR> Asks the workgroup for it's Search Settings.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/jivesoftware/smackx/workgroup/packet/Transcript.html" title="class in org.jivesoftware.smackx.workgroup.packet">Transcript</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#getTranscript(java.lang.String)">getTranscript</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sessionID)</CODE><BR> Returns the full conversation transcript of a given session.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/jivesoftware/smackx/workgroup/packet/Transcripts.html" title="class in org.jivesoftware.smackx.workgroup.packet">Transcripts</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#getTranscripts(java.lang.String)">getTranscripts</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> userID)</CODE><BR> Returns the transcripts of a given user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/jivesoftware/smackx/Form.html" title="class in org.jivesoftware.smackx">Form</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#getTranscriptSearchForm()">getTranscriptSearchForm</A></B>()</CODE><BR> Returns the Form to use for searching transcripts.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#getWorkgroupJID()">getWorkgroupJID</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#hasMonitorPrivileges(org.jivesoftware.smack.XMPPConnection)">hasMonitorPrivileges</A></B>(<A HREF="../../../../../org/jivesoftware/smack/XMPPConnection.html" title="class in org.jivesoftware.smack">XMPPConnection</A> con)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#isOnline()">isOnline</A></B>()</CODE><BR> Returns true if the agent is online with the workgroup.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#makeRoomOwner(org.jivesoftware.smack.XMPPConnection, java.lang.String)">makeRoomOwner</A></B>(<A HREF="../../../../../org/jivesoftware/smack/XMPPConnection.html" title="class in org.jivesoftware.smack">XMPPConnection</A> con, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sessionID)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#removeInvitationListener(org.jivesoftware.smackx.workgroup.WorkgroupInvitationListener)">removeInvitationListener</A></B>(<A HREF="../../../../../org/jivesoftware/smackx/workgroup/WorkgroupInvitationListener.html" title="interface in org.jivesoftware.smackx.workgroup">WorkgroupInvitationListener</A> invitationListener)</CODE><BR> Removes an invitation listener.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#removeMetaData(java.lang.String)">removeMetaData</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> key)</CODE><BR> Allows the removal of data from the agent's meta data, if the key represents existing data, the revised meta data will be rebroadcast in an agent's presence broadcast.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#removeOfferListener(org.jivesoftware.smackx.workgroup.agent.OfferListener)">removeOfferListener</A></B>(<A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/OfferListener.html" title="interface in org.jivesoftware.smackx.workgroup.agent">OfferListener</A> offerListener)</CODE><BR> Removes an offer listener.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#removeQueueUsersListener(org.jivesoftware.smackx.workgroup.agent.QueueUsersListener)">removeQueueUsersListener</A></B>(<A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/QueueUsersListener.html" title="interface in org.jivesoftware.smackx.workgroup.agent">QueueUsersListener</A> listener)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#saveMacros(org.jivesoftware.smackx.workgroup.ext.macros.MacroGroup)">saveMacros</A></B>(<A HREF="../../../../../org/jivesoftware/smackx/workgroup/ext/macros/MacroGroup.html" title="class in org.jivesoftware.smackx.workgroup.ext.macros">MacroGroup</A> group)</CODE><BR> Persists the Personal Macro for an agent.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/jivesoftware/smackx/ReportedData.html" title="class in org.jivesoftware.smackx">ReportedData</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#searchTranscripts(org.jivesoftware.smackx.Form)">searchTranscripts</A></B>(<A HREF="../../../../../org/jivesoftware/smackx/Form.html" title="class in org.jivesoftware.smackx">Form</A> completedForm)</CODE><BR> Submits the completed form and returns the result of the transcript search.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#sendRoomInvitation(org.jivesoftware.smackx.workgroup.packet.RoomInvitation.Type, java.lang.String, java.lang.String, java.lang.String)">sendRoomInvitation</A></B>(<A HREF="../../../../../org/jivesoftware/smackx/workgroup/packet/RoomInvitation.Type.html" title="enum in org.jivesoftware.smackx.workgroup.packet">RoomInvitation.Type</A> type, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> invitee, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sessionID, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> reason)</CODE><BR> Invites a user or agent to an existing session support.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#sendRoomTransfer(org.jivesoftware.smackx.workgroup.packet.RoomTransfer.Type, java.lang.String, java.lang.String, java.lang.String)">sendRoomTransfer</A></B>(<A HREF="../../../../../org/jivesoftware/smackx/workgroup/packet/RoomTransfer.Type.html" title="enum in org.jivesoftware.smackx.workgroup.packet">RoomTransfer.Type</A> type, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> invitee, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sessionID, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> reason)</CODE><BR> Transfer an existing session support to another user or agent.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#setMetaData(java.lang.String, java.lang.String)">setMetaData</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> key, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> val)</CODE><BR> Allows the addition of a new key-value pair to the agent's meta data, if the value is new data, the revised meta data will be rebroadcast in an agent's presence broadcast.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#setNote(java.lang.String, java.lang.String)">setNote</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sessionID, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> note)</CODE><BR> Creates a ChatNote that will be mapped to the given chat session.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/jivesoftware/smackx/workgroup/agent/AgentSession.html#setOnline(boolean)">setOnline</A></B>(boolean online)</CODE><BR> Sets whether the agent is online with the workgroup.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -