com.atlassian.confluence.internal.follow
Interface FollowManagerInternal

All Superinterfaces:
FollowManager
All Known Implementing Classes:
DefaultFollowManager

public interface FollowManagerInternal
extends FollowManager

Internal version of the FollowManager interface; see the package-info.java for rationale.

Since:
5.6

Method Summary
<T> Paginated<T>
getFollowers(ConfluenceUser user, PaginationQuery<ConfluenceUser,T> query)
          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)
          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, followUser, getFollowers, getFollowing, getFollowing, isUserFollowing, removeAllConnectionsFor, unfollowUser
 

Method Detail

getFollowers

<T> Paginated<T> getFollowers(ConfluenceUser user,
                              PaginationQuery<ConfluenceUser,T> query)
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 followers
query - 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)
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 followees
query - a constructed PaginationQuery containing optional predicates and model conversion strategy.
Returns:
a list of usernames
Since:
5.6


Copyright © 2003–2015 Atlassian. All rights reserved.