Difference between revisions of "GetSocialFeed"

From LongJump Support Wiki
imported>Aeric
imported>Aeric
 
Line 4: Line 4:
;Syntax:
;Syntax:
:<syntaxhighlight lang="java" enclose="div">
:<syntaxhighlight lang="java" enclose="div">
BaseBean<SocialBean> posting = Functions.getSocialFeed(String id);  
SocialFeedBean posting = Functions.getSocialFeed(String id);  
</syntaxhighlight>
</syntaxhighlight>


Line 10: Line 10:


;Returns:
;Returns:
:A SocialBean instance that is appropriate for the type of post. Use Java's <tt>instanceof</tt> to determine which you have:
:A SocialFeedBean instance that contains the details of the posting.  
::* [{{DOCHOST}}/javadocs/com/platform/beans/SocialDocumentBean.html SocialDocumentBean]
::* [{{DOCHOST}}/javadocs/com/platform/beans/SocialGroupBean.html SocialGroupBean]
::* [{{DOCHOST}}/javadocs/com/platform/beans/SocialRecordBean.html SocialRecordBean]
::* [{{DOCHOST}}/javadocs/com/platform/beans/SocialUserBean.html SocialUserBean]
:(Use


;Throws:
;Throws:
:Exception
:Exception

Latest revision as of 22:47, 13 December 2011

Get a posted message.

Syntax
SocialFeedBean posting = Functions.getSocialFeed(String id);
Parameters
Returns
A SocialFeedBean instance that contains the details of the posting.
Throws
Exception