Interface FollowManagerInternal

All Superinterfaces:
FollowManager
All Known Implementing Classes:
DefaultFollowManager

@Transactional(readOnly=true) @Deprecated public interface FollowManagerInternal extends FollowManager
Deprecated.
since 7.18 Use FollowManager or NetworkService
Internal version of the FollowManager interface; see the package-info.java for rationale.
Since:
5.6
  • Method Details

    • 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 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)
      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 followees
      query - a constructed PaginationQuery containing optional predicates and model conversion strategy.
      Returns:
      a list of usernames
      Since:
      5.6