socialFollow

From LongJump Support Wiki
Revision as of 18:57, 12 April 2012 by imported>Aeric
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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("__object name__"); 
srb.setRecordId("__record Id__"); 
srb.setFollower("__user id__", "__user name__"); 
Functions.socialFollow(new SocialBean(srb));