socialFollow

From LongJump Support Wiki

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));