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