Difference between revisions of "GetSocialFollowers"

From LongJump Support Wiki
imported>Aeric
(Created page with "{{subst: Java API}}")
 
imported>Aeric
Line 1: Line 1:
{{DISPLAYTITLE:__apiName__}}
{{DISPLAYTITLE:getSocialFollowers}}
Description...
Get a list of users who are following a resource.


;Syntax:
;Syntax:
:<syntaxhighlight lang="java" enclose="div">
:<syntaxhighlight lang="java" enclose="div">
Result result = Functions.__apiName__(String objectName, String fields, String criteria);
Result result = Functions.getSocialFollowers(String type, String id, String objectId, String filter);  
Result result = Functions.__apiName__(String objectName, String fields, String criteria
                            [, Parameters params] );
Result result = Functions.__apiName__(String objectName, String fields, String criteria);
Result result = Functions.__apiName__(String objectName, String fields, String criteria,
                            String sortBy, String sortOrder,
                            String sortBy2, String sortOrder2,
                            int offset, int numberOfRows);
</syntaxhighlight>
</syntaxhighlight>


;Parameters:
;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
:;objectName:The object name or identifier
:;fields:A comma-separated list of names of the fields to retrieve
:;fields:A comma-separated list of names of the fields to retrieve

Revision as of 00:21, 3 December 2011

Get a list of users who are following a resource.

Syntax
Result result = 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
Result object

--or--

An integer containing ...
A string containing ...
Throws
Exception
Example
This example ....
...