|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.sal.bamboo.user.BambooUserProfile
public final class BambooUserProfile
A simple implementation of the UserProfile interface for Bamboo
| Constructor Summary | |
|---|---|
BambooUserProfile(com.atlassian.user.User user)
|
|
| Method Summary | |
|---|---|
String |
getEmail()
Returns the email address of the user associated with this profile |
String |
getFullName()
Returns the full name of the user associated with this profile information |
URI |
getProfilePageUri()
Returns a URI for the user's profile page. |
URI |
getProfilePictureUri()
Returns a URI for the user's profile picture. |
URI |
getProfilePictureUri(int width,
int height)
Returns a URI for the user's profile picture. |
String |
getUsername()
Returns the username of the user associated with this profile information |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BambooUserProfile(com.atlassian.user.User user)
| Method Detail |
|---|
public String getUsername()
UserProfile
getUsername in interface UserProfilepublic String getFullName()
UserProfile
getFullName in interface UserProfilenull if a full name was not provided or the application does not
support the full name as profile datapublic String getEmail()
UserProfile
getEmail in interface UserProfilenull if an email address was not provided or the application does
not support email addresses as profile data
public URI getProfilePictureUri(int width,
int height)
UserProfile
getProfilePictureUri in interface UserProfilewidth - the preferred width of the desired pictureheight - the preferred height of the desired picture
null
if a profile picture was not provided, the application does not support
profile pictures as profile data, or the application was unable to provide an
image larger than or equal to the requested sizepublic URI getProfilePictureUri()
UserProfile
getProfilePictureUri in interface UserProfilenull
if a profile picture was not provided or the application does not support
profile pictures as profile datapublic URI getProfilePageUri()
UserProfile
getProfilePageUri in interface UserProfilenull if
the user does not have a profile page or the application does not support profile
pages
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||