|
Spring Social Yammer | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.yammer.api.impl.AbstractYammerOperations org.springframework.social.yammer.api.impl.SubscriptionTemplate
public class SubscriptionTemplate
Constructor Summary | |
---|---|
SubscriptionTemplate(org.springframework.web.client.RestTemplate restTemplate)
|
Method Summary | |
---|---|
void |
followTopic(long topicId)
Follow a topic with the given id |
void |
followUser(long userId)
Follow a user with the given id |
boolean |
isFollowingThread(long threadId)
Check whether you are following the given thread |
boolean |
isFollowingTopic(long topicId)
Check whether you are following the given topic |
boolean |
isFollowingUser(long userId)
Check whether you are following the given user |
void |
unfollowTopic(long topicId)
Stop following a topic |
void |
unfollowUser(long userId)
Stop following a user |
Methods inherited from class org.springframework.social.yammer.api.impl.AbstractYammerOperations |
---|
buildUri, buildUri, buildUri |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubscriptionTemplate(org.springframework.web.client.RestTemplate restTemplate)
Method Detail |
---|
public void followUser(long userId)
SubscriptionOperations
followUser
in interface SubscriptionOperations
public void followTopic(long topicId)
SubscriptionOperations
followTopic
in interface SubscriptionOperations
public void unfollowUser(long userId)
SubscriptionOperations
unfollowUser
in interface SubscriptionOperations
public void unfollowTopic(long topicId)
SubscriptionOperations
unfollowTopic
in interface SubscriptionOperations
public boolean isFollowingUser(long userId)
SubscriptionOperations
isFollowingUser
in interface SubscriptionOperations
true
if you are following the user, otherwise false
public boolean isFollowingTopic(long topicId)
SubscriptionOperations
isFollowingTopic
in interface SubscriptionOperations
true
if you are following the topic, otherwise false
public boolean isFollowingThread(long threadId)
SubscriptionOperations
isFollowingThread
in interface SubscriptionOperations
true
if you are following the thread, otherwise false
|
Spring Social Yammer | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |