searchSocialGroups

From LongJump Support Wiki
Revision as of 23:52, 2 December 2011 by imported>Aeric

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("");