@Deprecated public class DefaultUserProfileService extends Object implements UserProfileService, org.springframework.web.context.ServletContextAware
Constructor and Description |
---|
DefaultUserProfileService(PermissionManager permissionManager,
UserAccessor userAccessor,
AttachmentManager attachmentManager,
PersonalInformationManager personalInformationManager,
UserProfilePictureManager userProfilePictureManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DeleteProfilePictureCommand |
newDeleteProfilePictureCommand(com.atlassian.user.User user,
String imageFileName)
Deprecated.
|
SetProfilePictureCommand |
newSetProfilePictureCommand(com.atlassian.user.User user,
InputStream imageData,
String imageFileName)
Deprecated.
|
SetProfilePictureCommand |
newSetProfilePictureCommand(com.atlassian.user.User user,
InputStream imageData,
String imageFileName,
int topLeftX,
int topLeftY,
int width)
Deprecated.
|
SetProfilePictureCommand |
newSetProfilePictureCommand(com.atlassian.user.User user,
String builtInImageFileName)
Deprecated.
|
void |
setServletContext(javax.servlet.ServletContext servletContext)
Deprecated.
|
public DefaultUserProfileService(PermissionManager permissionManager, UserAccessor userAccessor, AttachmentManager attachmentManager, PersonalInformationManager personalInformationManager, UserProfilePictureManager userProfilePictureManager)
@Deprecated public SetProfilePictureCommand newSetProfilePictureCommand(com.atlassian.user.User user, InputStream imageData, String imageFileName)
UserProfileService
newSetProfilePictureCommand
in interface UserProfileService
user
- the user to set a profile picture forimageData
- the image to use as a profile pictureimageFileName
- the name of the uploaded image@Deprecated public SetProfilePictureCommand newSetProfilePictureCommand(com.atlassian.user.User user, String builtInImageFileName)
UserProfileService
newSetProfilePictureCommand
in interface UserProfileService
user
- the user to set a profile picture forbuiltInImageFileName
- the filename of the image to use as a profile picture@Deprecated public SetProfilePictureCommand newSetProfilePictureCommand(com.atlassian.user.User user, InputStream imageData, String imageFileName, int topLeftX, int topLeftY, int width)
UserProfileService
newSetProfilePictureCommand
in interface UserProfileService
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)@Deprecated public DeleteProfilePictureCommand newDeleteProfilePictureCommand(com.atlassian.user.User user, String imageFileName)
UserProfileService
newDeleteProfilePictureCommand
in interface UserProfileService
user
- the user to delete a profile picture forimageFileName
- the filename of the image to delete@Deprecated public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext
in interface org.springframework.web.context.ServletContextAware
Copyright © 2003–2018 Atlassian. All rights reserved.