public class NetworkServiceImpl extends Object implements NetworkService
NetworkService.| Constructor and Description | 
|---|
| NetworkServiceImpl(FollowManagerInternal followManager,
                  UserAccessor userAccessor,
                  PersonFactory personFactory) | 
| Modifier and Type | Method and Description | 
|---|---|
| PageResponse<User> | getFollowers(com.atlassian.sal.api.user.UserKey userKey,
            PageRequest request)Gets the users who are following the given user. | 
| PageResponse<User> | getFollowing(com.atlassian.sal.api.user.UserKey userKey,
            PageRequest request)Gets the users that the given user is following. | 
public NetworkServiceImpl(FollowManagerInternal followManager, UserAccessor userAccessor, PersonFactory personFactory)
public PageResponse<User> getFollowers(com.atlassian.sal.api.user.UserKey userKey, PageRequest request) throws NotFoundException
NetworkServicegetFollowers in interface NetworkServiceuserKey - - the key of the user being followedNotFoundException - if the given user does not existpublic PageResponse<User> getFollowing(com.atlassian.sal.api.user.UserKey userKey, PageRequest request) throws NotFoundException
NetworkServicegetFollowing in interface NetworkServiceuserKey - - the key of the user following other users.NotFoundException - if the given user does not existCopyright © 2003–2017 Atlassian. All rights reserved.