Difference between revisions of "GetSocialFollowers"

From LongJump Support Wiki
imported>Aeric
imported>Aeric
Line 4: Line 4:
;Syntax:
;Syntax:
:<syntaxhighlight lang="java" enclose="div">
:<syntaxhighlight lang="java" enclose="div">
Result result = Functions.getSocialFollowers(String type, String id, String objectId, String filter);  
CollectionsBean followers;
followers = Functions.getSocialFollowers(String type, String id, String objectId, String filter);  
</syntaxhighlight>
</syntaxhighlight>



Revision as of 01:46, 3 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 filter);
Parameters
  • For list of type, see relay type table in the link (to REST table) in the spec
  • type and id are required.
  • Filter is optional.
  • ObjectId is required if the type is Record.


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
CollectionBean - The list of SocialUserBean users who are following the resource
Throws
Exception
Example
This example ....
...