Interface FollowManagerInternal
-
- All Superinterfaces:
FollowManager
- All Known Implementing Classes:
DefaultFollowManager
@Transactional(readOnly=true) @Deprecated public interface FollowManagerInternal extends FollowManager
Deprecated.since 7.18 UseFollowManager
orNetworkService
Internal version of theFollowManager
interface; see the package-info.java for rationale.- Since:
- 5.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description <T> Paginated<T>
getFollowers(ConfluenceUser user, PaginationQuery<ConfluenceUser,T> query)
Deprecated.Constructs a new Paginated response containing the followers of specified user, limited and converted by the given PaginationQuery.<T> Paginated<T>
getFollowing(ConfluenceUser user, PaginationQuery<ConfluenceUser,T> query)
Deprecated.Returns a list of users that the specified user is following, limited and converted by the given PaginationQuery.-
Methods inherited from interface com.atlassian.confluence.follow.FollowManager
followUser, isUserFollowing, removeAllConnectionsFor, unfollowUser
-
-
-
-
Method Detail
-
getFollowers
<T> Paginated<T> getFollowers(ConfluenceUser user, PaginationQuery<ConfluenceUser,T> query)
Deprecated.Constructs a new Paginated response containing the followers of specified user, limited and converted by the given PaginationQuery.NOTE: this method will implicitly add a Predicate filtering results to ConfluenceUsers that are permitted to use Confluence.
- Parameters:
user
- the user to check for followersquery
- a constructed PaginationQuery containing optional predicates and model conversion strategy.- Returns:
- a Paginated response ready for page requests or paged iteration.
- Since:
- 5.6
-
getFollowing
<T> Paginated<T> getFollowing(ConfluenceUser user, PaginationQuery<ConfluenceUser,T> query)
Deprecated.Returns a list of users that the specified user is following, limited and converted by the given PaginationQuery.- Parameters:
user
- the user to check for followeesquery
- a constructed PaginationQuery containing optional predicates and model conversion strategy.- Returns:
- a list of usernames
- Since:
- 5.6
-
-