@ExperimentalApi
public interface NetworkService
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.
|
PageResponse<User> getFollowers(com.atlassian.sal.api.user.UserKey userKey, PageRequest request) throws NotFoundException
userKey
- - the key of the user being followedNotFoundException
- if the given user does not existPageResponse<User> getFollowing(com.atlassian.sal.api.user.UserKey userKey, PageRequest request) throws NotFoundException
userKey
- - the key of the user following other users.NotFoundException
- if the given user does not existCopyright © 2003–2015 Atlassian. All rights reserved.