public interface FollowManager
Modifier and Type | Method and Description |
---|---|
void |
followUser(ConfluenceUser follower,
ConfluenceUser followee)
Sets the follower to follow the specified user.
|
boolean |
isUserFollowing(com.atlassian.user.User follower,
com.atlassian.user.User followee)
True if the follower is following the followee
|
void |
removeAllConnectionsFor(com.atlassian.user.User user)
Removes all connections for this user (as a follower and as a followee).
|
void |
unfollowUser(com.atlassian.user.User follower,
com.atlassian.user.User followee)
Unsets the follower from following the specified user.
|
boolean isUserFollowing(com.atlassian.user.User follower, com.atlassian.user.User followee)
follower
- the proposed followerfollowee
- the proposed followeevoid followUser(ConfluenceUser follower, ConfluenceUser followee)
follower
- the followerfollowee
- the new followeevoid unfollowUser(com.atlassian.user.User follower, com.atlassian.user.User followee)
follower
- the followerfollowee
- the new followeevoid removeAllConnectionsFor(com.atlassian.user.User user)
user
- the userCopyright © 2003–2020 Atlassian. All rights reserved.