java.lang.Object | |
↳ | com.atlassian.jira.avatar.AvatarPickerHelperImpl |
Nested Classes | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AvatarPickerHelperImpl.Result<T> | |||||||||||||||||||
AvatarPickerHelperImpl.TemporaryAvatarBean |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Converts temporary avatar (uploaded) to real avatar
| |||||||||||
Crops the temporary avatar (uploaded) using the given selection.
| |||||||||||
Gets temporary avatar url
| |||||||||||
Handles upload of temporary avatar
|
[Expand]
Inherited Methods | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||
From interface
com.atlassian.jira.avatar.AvatarPickerHelper
|
Converts temporary avatar (uploaded) to real avatar
ownerId | the id of the owner, matches the type (project id or user key) |
---|---|
type | the desired type of the avatar |
selection | the area of the temporary avatar to crop real avatar to |
Crops the temporary avatar (uploaded) using the given selection.
ownerId | the id of the owner, matches the type (project id or user key) |
---|---|
type | the desired type of the avatar. |
selection | the area of the temporary avatar to crop real avatar to |
Handles upload of temporary avatar
stream | upload io stream |
---|---|
fileName | name of upload file |
contentType | image type |
size | size of avatar |
ownerId | ownerId the id of the owner, matches the type (project id or user key) |
type | the desired type of the avatar. |