spring-social-github

org.springframework.social.github.api
Interface UserOperations

All Known Implementing Classes:
UserTemplate

public interface UserOperations

Interface defining the operations for working with GitHub users.

Author:
Willie Wheeler (willie.wheeler@gmail.com)

Method Summary
 java.util.List<GitHubUser> getFollowers(java.lang.String user)
          Public operation to return a given user's followers.
 java.util.List<GitHubUser> getFollowing(java.lang.String user)
          Public operation to return the users that a given user is following.
 java.lang.String getProfileId()
          Retrieves the user's GitHub profile ID.
 java.lang.String getProfileUrl()
          Retrieve the URL to the user's GitHub profile.
 GitHubUserProfile getUserProfile()
          Retrieves the user's GitHub profile details.
 

Method Detail

getProfileId

java.lang.String getProfileId()
Retrieves the user's GitHub profile ID.

Returns:
the user's GitHub profile ID.

getUserProfile

GitHubUserProfile getUserProfile()
Retrieves the user's GitHub profile details.

Returns:
the user's GitHub profile

getProfileUrl

java.lang.String getProfileUrl()
Retrieve the URL to the user's GitHub profile.

Returns:
the URL to the user's GitHub profile.

getFollowers

java.util.List<GitHubUser> getFollowers(java.lang.String user)
Public operation to return a given user's followers.

Parameters:
user - GitHub user
Returns:
list of followers

getFollowing

java.util.List<GitHubUser> getFollowing(java.lang.String user)
Public operation to return the users that a given user is following.

Parameters:
user - GitHub user
Returns:
list of users the given user is following

spring-social-github