public class TranscriptSearchManager
extends java.lang.Object
getSearchForm(String)
or to submit a search form and return the results of
the search submitSearch(String, Form)
.Constructor and Description |
---|
TranscriptSearchManager(org.jivesoftware.smack.XMPPConnection connection) |
Modifier and Type | Method and Description |
---|---|
org.jivesoftware.smackx.xdata.Form |
getSearchForm(java.lang.String serviceJID)
Returns the Form to use for searching transcripts.
|
org.jivesoftware.smackx.search.ReportedData |
submitSearch(java.lang.String 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(java.lang.String serviceJID) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException
serviceJID
- the address of the workgroup service.org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.SmackException.NotConnectedException
public org.jivesoftware.smackx.search.ReportedData submitSearch(java.lang.String serviceJID, org.jivesoftware.smackx.xdata.Form completedForm) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException
serviceJID
- the address of the workgroup service.completedForm
- the filled out search form.org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.SmackException.NotConnectedException