Difference between revisions of "SearchSocialGroups"

From LongJump Support Wiki
imported>Aeric
imported>Aeric
Line 35: Line 35:
searchContext.setSortOrder2("");
searchContext.setSortOrder2("");
</syntaxhighlight>
</syntaxhighlight>
<noinclude>
[[Category:Java API | searchSocialGroups]]
</noinclude>

Revision as of 01:39, 3 December 2011

Search groups.

Syntax
Result result = Functions.searchSocialGroups(SearchContext sc);
Parameters
objectName
The object name or identifier
fields
A comma-separated list of names of the fields to retrieve
criteria
A filter expression that specifies records to select.
params
An optional Parameters object that contains additional parameters:
  • param - ...
Returns
Result object

--or--

An integer containing ...
A string containing ...
Throws
Exception
Example
This example ....
SearchContext searchContext = new SearchContext();
searchContext.setFieldList("*");
searchContext.setFilter("x = y"); //criteria
searchContext.setPage(0);
searchContext.setPageSize(5000);
searchContext.setSortBy("date_created");
searchContext.setSortBy2("");
searchContext.setSortOrder("DESC");
searchContext.setSortOrder2("");