Difference between revisions of "GetSocialFollowers"
From LongJump Support Wiki
imported>Aeric |
imported>Aeric |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
:<syntaxhighlight lang="java" enclose="div"> | :<syntaxhighlight lang="java" enclose="div"> | ||
CollectionsBean followers; | CollectionsBean followers; | ||
followers = Functions.getSocialFollowers(String type, String id, String objectId, String | followers = Functions.getSocialFollowers(String type, String id, String objectId, String criteria); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 11: | Line 11: | ||
:;type: A string containing one of the Relay [[REST_API:social_feed_Resource#Feed_Types|Feed Types]]. (required) | :;type: A string containing one of the Relay [[REST_API:social_feed_Resource#Feed_Types|Feed Types]]. (required) | ||
:;id: The ID of the feed. (required) | :;id: The ID of the feed. (required) | ||
:;objectId: Required if the feed type is "record". Otherwise, it can be an empty string | :;objectId: Required if the feed type is "record". Otherwise, it can be an empty string. | ||
:;criteria: | :;criteria:An optional [[JAVA API:Filter Expressions in JAVA APIs|filter expression]] that specifies records to select. Otherwise, it can be an empty string. | ||
;Returns: | ;Returns: |
Latest revision as of 22:52, 13 December 2011
Get a list of users who are following a resource.
- Syntax
CollectionsBean followers; followers = Functions.getSocialFollowers(String type, String id, String objectId, String criteria);
- Parameters
-
- type
- A string containing one of the Relay Feed Types. (required)
- id
- The ID of the feed. (required)
- objectId
- Required if the feed type is "record". Otherwise, it can be an empty string.
- criteria
- An optional filter expression that specifies records to select. Otherwise, it can be an empty string.
- Returns
- A CollectionBean containing the SocialUserBean objects for users who are following the resource.
- Throws
- Exception