Difference between revisions of "SocialFollow"
From LongJump Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 16: | Line 16: | ||
;Throws: | ;Throws: | ||
:Exception | :Exception | ||
;Example: | |||
:<syntaxhighlight lang="java" enclose="div"> | |||
SocialRecordBean srb = new SocialRecordBean(); | |||
srb.setObjectId(); | |||
srb.setRecordId(); | |||
srb.setFollower(, null); | |||
Functions.socialFollow(new SocialBean(srb)); | |||
</syntaxhighlight> |
Revision as of 18:54, 12 April 2012
Follow a resource.
- Syntax
void Functions.socialFollow(SocialBean sb);
- Parameters
-
- SocialBean
- An instance of a SocialBean subclass:
- Throws
- Exception
- Example
SocialRecordBean srb = new SocialRecordBean(); srb.setObjectId(); srb.setRecordId(); srb.setFollower(, null); Functions.socialFollow(new SocialBean(srb));