Difference between revisions of "GetSocialFeed"

From LongJump Support Wiki
imported>Aeric
(Created page with "{{subst: Java API}}")
 
imported>Aeric
Line 1: Line 1:
{{DISPLAYTITLE:__apiName__}}
{{DISPLAYTITLE:getSocialFeed}}
Description...
Get a posted message.


;Syntax:
;Syntax:
:<syntaxhighlight lang="java" enclose="div">
:<syntaxhighlight lang="java" enclose="div">
Result result = Functions.__apiName__(String objectName, String fields, String criteria);
BaseBean<SocialBean> posting = Functions.getSocialFeed(String id);  
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:
:;objectName:The object name or identifier
:;fields:A comma-separated list of names of the fields to retrieve
:;criteria:A [[JAVA API:Filter Expressions in JAVA APIs|filter expression]] that specifies records to select.
:;params: An optional [[Parameters Class|Parameters]] object that contains additional parameters:
:::*''' param -''' ...


;Returns:
;Returns:
:[[Result Class|<tt>Result</tt>]] object<br/>
:A SocialBean instance that is appropriate for the type of post:
--or--
::* [{{DOCHOST}}/javadocs/com/platform/beans/SocialDocumentBean.html SocialDocumentBean]
:An integer containing ...
::* [{{DOCHOST}}/javadocs/com/platform/beans/SocialGroupBean.html SocialGroupBean]
:A string containing ...
::* [{{DOCHOST}}/javadocs/com/platform/beans/SocialRecordBean.html SocialRecordBean]
::* [{{DOCHOST}}/javadocs/com/platform/beans/SocialUserBean.html SocialUserBean]


;Throws:
;Throws:
:Exception
:Exception
;Example:This example ....
:<syntaxhighlight lang="java" enclose="div">
...
</syntaxhighlight>
<!--ACTIVATE THE CATEGORY BELOW FOR MAIN "COLLECTION" PAGES (not for individual methods)
<noinclude>
[[Category:Java API | __apiName__]]
</noinclude>
-->

Revision as of 02:46, 3 December 2011

Get a posted message.

Syntax
BaseBean<SocialBean> posting = Functions.getSocialFeed(String id);
Parameters
Returns
A SocialBean instance that is appropriate for the type of post:
Throws
Exception