public class TranscriptSearchManager extends Object
getSearchForm(String)
or to submit a search form and return the results of
the search submitSearch(String, Form)
.Constructor and Description |
---|
TranscriptSearchManager(XMPPConnection connection) |
Modifier and Type | Method and Description |
---|---|
Form |
getSearchForm(String serviceJID)
Returns the Form to use for searching transcripts.
|
ReportedData |
submitSearch(String serviceJID,
Form completedForm)
Submits the completed form and returns the result of the transcript search.
|
public TranscriptSearchManager(XMPPConnection connection)
public Form getSearchForm(String serviceJID) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException
serviceJID
- the address of the workgroup service.XMPPException.XMPPErrorException
SmackException.NoResponseException
SmackException.NotConnectedException
public ReportedData submitSearch(String serviceJID, Form completedForm) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException
serviceJID
- the address of the workgroup service.completedForm
- the filled out search form.XMPPException.XMPPErrorException
SmackException.NoResponseException
SmackException.NotConnectedException