|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserProfileService
Service for user profile-related functions such as editing profiles, managing preferences and so on.
| Method Summary | |
|---|---|
DeleteProfilePictureCommand |
newDeleteProfilePictureCommand(com.atlassian.user.User user,
String imageFileName)
Get a service command for deleting a user's profile picture. |
SetProfilePictureCommand |
newSetProfilePictureCommand(com.atlassian.user.User user,
InputStream imageData,
String imageFileName)
Get a service command for setting a user's profile picture from an uploaded photo. |
SetProfilePictureCommand |
newSetProfilePictureCommand(com.atlassian.user.User user,
InputStream imageData,
String imageFileName,
int topLeftX,
int topLeftY,
int width)
Get a service command for setting a user's profile picture from an uploaded photo. |
SetProfilePictureCommand |
newSetProfilePictureCommand(com.atlassian.user.User user,
String imageFileName)
Get a service command for setting a user's profile picture from an already existing attachment filename, or from one of the built-in icons. |
| Method Detail |
|---|
SetProfilePictureCommand newSetProfilePictureCommand(com.atlassian.user.User user,
InputStream imageData,
String imageFileName)
user - the user to set a profile picture forimageData - the image to use as a profile pictureimageFileName - the name of the uploaded image
SetProfilePictureCommand newSetProfilePictureCommand(com.atlassian.user.User user,
String imageFileName)
user - the user to set a profile picture forimageFileName - the filename of the image to use as a profile picture
SetProfilePictureCommand newSetProfilePictureCommand(com.atlassian.user.User user,
InputStream imageData,
String imageFileName,
int topLeftX,
int topLeftY,
int width)
user - the user to set a profile picture forimageData - the image to use as a profile pictureimageFileName - the name of the uploaded imagetopLeftX - the X offset of the top left of the cropping areatopLeftY - the Y offset of the top left of the cropping areawidth - the width of the cropping area (will always be square)
DeleteProfilePictureCommand newDeleteProfilePictureCommand(com.atlassian.user.User user,
String imageFileName)
user - the user to delete a profile picture forimageFileName - the filename of the image to delete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||