Difference between revisions of "SearchSocialGroups"
From LongJump Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 35: | Line 35: | ||
searchContext.setSortOrder2(""); | searchContext.setSortOrder2(""); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<noinclude> | <noinclude> | ||
[[Category:Java API | | [[Category:Java API | searchSocialGroups]] | ||
</noinclude> | </noinclude> | ||
Revision as of 01:12, 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("");