public class TranscriptSearchManager
extends java.lang.Object
getSearchForm(DomainBareJid)
or to submit a search form and return the results of
the search submitSearch(DomainBareJid, Form)
.Constructor and Description |
---|
TranscriptSearchManager(org.jivesoftware.smack.XMPPConnection connection) |
Modifier and Type | Method and Description |
---|---|
org.jivesoftware.smackx.xdata.Form |
getSearchForm(org.jxmpp.jid.DomainBareJid serviceJID)
Returns the Form to use for searching transcripts.
|
org.jivesoftware.smackx.search.ReportedData |
submitSearch(org.jxmpp.jid.DomainBareJid serviceJID,
org.jivesoftware.smackx.xdata.Form completedForm)
Submits the completed form and returns the result of the transcript search.
|
public TranscriptSearchManager(org.jivesoftware.smack.XMPPConnection connection)
public org.jivesoftware.smackx.xdata.Form getSearchForm(org.jxmpp.jid.DomainBareJid serviceJID) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
serviceJID
- the address of the workgroup service.org.jivesoftware.smack.XMPPException.XMPPErrorException
- if there was an XMPP error returned.org.jivesoftware.smack.SmackException.NoResponseException
- if there was no response from the remote entity.org.jivesoftware.smack.SmackException.NotConnectedException
- if the XMPP connection is not connected.java.lang.InterruptedException
- if the calling thread was interrupted.public org.jivesoftware.smackx.search.ReportedData submitSearch(org.jxmpp.jid.DomainBareJid serviceJID, org.jivesoftware.smackx.xdata.Form completedForm) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
serviceJID
- the address of the workgroup service.completedForm
- the filled out search form.org.jivesoftware.smack.XMPPException.XMPPErrorException
- if there was an XMPP error returned.org.jivesoftware.smack.SmackException.NoResponseException
- if there was no response from the remote entity.org.jivesoftware.smack.SmackException.NotConnectedException
- if the XMPP connection is not connected.java.lang.InterruptedException
- if the calling thread was interrupted.