public interface FollowManager
Modifier and Type | Method and Description |
---|---|
void |
followUser(ConfluenceUser follower,
ConfluenceUser followee)
Sets the follower to follow the specified user.
|
void |
followUser(com.atlassian.user.User follower,
com.atlassian.user.User followee)
Deprecated.
since 5.2
|
java.util.List<java.lang.String> |
getFollowers(com.atlassian.user.User user)
Deprecated.
since 5.6. Use the new paged alternatives in FollowManagerInternal, or consider using the new NetworkService.
|
java.util.Set<ConfluenceUser> |
getFollowing(ConfluenceUser user)
Deprecated.
since 5.6. Use the new paged alternatives in FollowManagerInternal, or consider using the new NetworkService.
|
java.util.List<java.lang.String> |
getFollowing(com.atlassian.user.User user)
Deprecated.
since 5.2. Use the new paged alternatives in FollowManagerInternal, or consider using the new NetworkService.
|
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.
|
@Deprecated java.util.List<java.lang.String> getFollowers(com.atlassian.user.User user)
user
- the user to check for followerscom.atlassian.confluence.internal.follow.FollowManagerInternal#getFollowers(com.atlassian.confluence.user.ConfluenceUser, com.atlassian.confluence.api.impl.pagination.PaginationQuery)}
,
com.atlassian.confluence.api.service.network.NetworkService}
@Deprecated java.util.Set<ConfluenceUser> getFollowing(ConfluenceUser user)
user
- the usernamecom.atlassian.confluence.internal.follow.FollowManagerInternal#getFollowing(com.atlassian.confluence.user.ConfluenceUser, com.atlassian.confluence.api.impl.pagination.PaginationQuery)}
,
com.atlassian.confluence.api.service.network.NetworkService}
@Deprecated java.util.List<java.lang.String> getFollowing(com.atlassian.user.User user)
user
- the usernamecom.atlassian.confluence.internal.follow.FollowManagerInternal#getFollowing(com.atlassian.confluence.user.ConfluenceUser, com.atlassian.confluence.api.impl.pagination.PaginationQuery)}
,
com.atlassian.confluence.api.service.network.NetworkService}
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 followee@Deprecated void followUser(com.atlassian.user.User follower, com.atlassian.user.User followee)
void 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-2014 Atlassian. All Rights Reserved.