Difference between revisions of "GetSocialFollowers"

From LongJump Support Wiki
imported>Aeric
imported>Aeric
Line 21: Line 21:


;Returns:
;Returns:
:[[|<tt>CollectionBean</tt>] - The list of [ SocialBean] users who are following the resource
:[{{DOCHOST}}/javadocs/com/platform/beans/CollectionBean.html <tt>CollectionBean</tt>] - The list of [{{DOCHOST}}/javadocs/com/platform/beans/SocialUserBean.html SocialUserBean] users who are following the resource


;Throws:
;Throws:

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