From 3e6082629635dc8babdcfdd66dbbdd3da6d7326a Mon Sep 17 00:00:00 2001 From: Derek DeMoro Date: Fri, 16 Sep 2005 16:50:05 +0000 Subject: [PATCH] 1) Update javadoc. 2) Will need to add support for search fields. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2829 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smackx/packet/UserSearch.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/org/jivesoftware/smackx/packet/UserSearch.java b/source/org/jivesoftware/smackx/packet/UserSearch.java index aaf050fba..ee54a8b5d 100644 --- a/source/org/jivesoftware/smackx/packet/UserSearch.java +++ b/source/org/jivesoftware/smackx/packet/UserSearch.java @@ -50,7 +50,7 @@ public class UserSearch extends IQ { /** - * Retrieve the last activity of a particular jid. + * Returns the form for all search fields supported by the search service. * * @param con the current XMPPConnection. * @param searchService the search service to use. (ex. search.jivesoftware.com) @@ -79,11 +79,12 @@ public class UserSearch extends IQ { } /** - * Retrieve the last activity of a particular jid. + * Sends the filled out answer form to be sent and queried by the search service. * * @param con the current XMPPConnection. * @param searchForm the Form to send for querying. * @param searchService the search service to use. (ex. search.jivesoftware.com) + * @return ReportedData the data found from the query. * @throws org.jivesoftware.smack.XMPPException * thrown if a server error has occured. */ @@ -140,4 +141,5 @@ public class UserSearch extends IQ { return search; } } + }