|
Spring Social Yammer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SubscriptionOperations
Sub-API for subscriptions (following/unfollowing).
| 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 |
| Method Detail |
|---|
void followUser(long userId)
userId -
org.springframework.social.OperationNotPermittedException - if user does not existvoid followTopic(long topicId)
topicId -
org.springframework.social.OperationNotPermittedException - if user does not existboolean isFollowingUser(long userId)
userId -
true if you are following the user, otherwise falseboolean isFollowingTopic(long topicId)
topicId -
true if you are following the topic, otherwise falseboolean isFollowingThread(long threadId)
threadId -
true if you are following the thread, otherwise falsevoid unfollowTopic(long topicId)
topicId - void unfollowUser(long userId)
userId -
|
Spring Social Yammer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||