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. Use
followUser(ConfluenceUser, ConfluenceUser) instead. |
List<String> |
getFollowers(com.atlassian.user.User user)
Deprecated.
since 5.6. Use the new paged alternatives in FollowManagerInternal, or consider using the new NetworkService.
|
Set<ConfluenceUser> |
getFollowing(ConfluenceUser user)
Deprecated.
since 5.6. Use the new paged alternatives in FollowManagerInternal, or consider using the new NetworkService.
|
List<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 List<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 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 List<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)
followUser(ConfluenceUser, ConfluenceUser) instead.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–2019 Atlassian. All rights reserved.