|
Spring Social Yammer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 SubscriptionOperationspublic void followTopic(long topicId)
SubscriptionOperations
followTopic in interface SubscriptionOperationspublic void unfollowUser(long userId)
SubscriptionOperations
unfollowUser in interface SubscriptionOperationspublic void unfollowTopic(long topicId)
SubscriptionOperations
unfollowTopic in interface SubscriptionOperationspublic boolean isFollowingUser(long userId)
SubscriptionOperations
isFollowingUser in interface SubscriptionOperationstrue if you are following the user, otherwise falsepublic boolean isFollowingTopic(long topicId)
SubscriptionOperations
isFollowingTopic in interface SubscriptionOperationstrue if you are following the topic, otherwise falsepublic boolean isFollowingThread(long threadId)
SubscriptionOperations
isFollowingThread in interface SubscriptionOperationstrue 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 | ||||||||