public class UserServiceImpl extends FacebookBaseService implements UserService
| Constructor and Description |
|---|
UserServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getUserPermissions()
Retrieves a list of permissions that the application has been granted for the authenticated user.
|
FacebookProfile |
getUserProfile()
Retrieves the profile for the authenticated user.
|
FacebookProfile |
getUserProfile(String facebookId)
Retrieves the profile for the specified user.
|
byte[] |
getUserProfileImage()
Retrieves the user's profile image.
|
byte[] |
getUserProfileImage(ImageType imageType)
Retrieves the user's profile image.
|
byte[] |
getUserProfileImage(String userId)
Retrieves the user's profile image.
|
byte[] |
getUserProfileImage(String userId,
ImageType imageType)
Retrieves the user's profile image.
|
List<Reference> |
search(String query)
Searches for users.
|
getApiRootUrl, getQualifierbuildUri, buildUri, buildUri, buildUripublic FacebookProfile getUserProfile()
UserServicegetUserProfile in interface UserServicepublic FacebookProfile getUserProfile(String facebookId)
UserServicegetUserProfile in interface UserServicefacebookId - the Facebook user ID to retrieve profile data for.public byte[] getUserProfileImage()
UserServicegetUserProfileImage in interface UserServicepublic byte[] getUserProfileImage(String userId)
UserServicegetUserProfileImage in interface UserServiceuserId - the Facebook user ID.public byte[] getUserProfileImage(ImageType imageType)
UserServicegetUserProfileImage in interface UserServiceimageType - the image type (eg., small, normal, large. square)public byte[] getUserProfileImage(String userId, ImageType imageType)
UserServicegetUserProfileImage in interface UserServiceuserId - the Facebook user ID.imageType - the image type (eg., small, normal, large. square)public List<String> getUserPermissions()
UserServicegetUserPermissions in interface UserServicepublic List<Reference> search(String query)
UserServicesearch in interface UserServicequery - the search query (e.g., "Michael Scott")References, each representing a user who matched the given query.Copyright © 2011-2013 Seam Framework. All Rights Reserved.