Difference between revisions of "SocialFollow"

From LongJump Support Wiki
imported>Aeric
(Created page with "{{subst: Java API}}")
 
imported>Aeric
Line 1: Line 1:
{{DISPLAYTITLE:__apiName__}}
{{DISPLAYTITLE:socialFollow}}
Description...
Follow 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.socialFollow(BaseBean<SocialBean> sb);  
Result result = Functions.__apiName__(String objectName, String fields, String criteria  
Result result = Functions.__apiName__(String objectName, String fields, String criteria  
                             [, Parameters params] );
                             [, Parameters params] );
Line 15: Line 15:


;Parameters:
;Parameters:
:;objectName:The object name or identifier
:;BaseBean<SocialBean>:An instance of a SocialBean subclass:
:;fields:A comma-separated list of names of the fields to retrieve
::* [{{DOCHOST}}/javadocs/com/platform/beans/SocialDocumentBean.html SocialDocumentBean]
:;criteria:A [[JAVA API:Filter Expressions in JAVA APIs|filter expression]] that specifies records to select.
::* [{{DOCHOST}}/javadocs/com/platform/beans/SocialGroupBean.html SocialGroupBean]
:;params: An optional [[Parameters Class|Parameters]] object that contains additional parameters:
::* [{{DOCHOST}}/javadocs/com/platform/beans/SocialRecordBean.html SocialRecordBean]
:::*''' param -''' ...
::* [{{DOCHOST}}/javadocs/com/platform/beans/SocialUserBean.html SocialUserBean]


;Returns:
;Returns:

Revision as of 00:12, 3 December 2011

Follow a resource.

Syntax
Result result = Functions.socialFollow(BaseBean<SocialBean> sb); 
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);
Parameters
BaseBean<SocialBean>
An instance of a SocialBean subclass:
Returns
Result object

--or--

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