java.lang.Object | |
↳ | com.atlassian.jira.avatar.CachingTaggingAvatarStore |
Avatar store which converts legacy avatar files to the new tagged format during retrieval
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | AVATAR_ENTITY | ||||||||||
String | AVATAR_TYPE | ||||||||||
String | CONTENT_TYPE | ||||||||||
String | FILE_NAME | ||||||||||
String | ID | ||||||||||
String | OWNER | ||||||||||
String | SYSTEM_AVATAR |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an avatar with the properties of the given avatar.
| |||||||||||
Permanently removes the avatar from the system.
| |||||||||||
Provides a list of all system avatars.
| |||||||||||
Retrieves the Avatar by id.
| |||||||||||
Retrieves the Avatar by id,
ensuring the avatar file is tagged with metadata identifying the image came from JIRA.
| |||||||||||
Provides a list of all avatars that are of the given type which have the given owner.
| |||||||||||
Updates an avatar's properties to match those in the given avatar.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.avatar.AvatarStore
|
Creates an avatar with the properties of the given avatar.
avatar | the to create, must not be null, must have a null id. |
---|
Permanently removes the avatar from the system.
avatarId | the avatar's id, must not be null. |
---|
Provides a list of all system avatars.
type | the types of avatar to retrieve |
---|
Retrieves the Avatar by id.
avatarId | the avatar's id, must not be null. |
---|
Retrieves the Avatar by id, ensuring the avatar file is tagged with metadata identifying the image came from JIRA.
avatarId | the avatar's id, must not be null. |
---|
Provides a list of all avatars that are of the given type which have the given owner.
type | the desired type of the avatars to retrieve. |
---|---|
ownerId | the id of the owner, matches the type (project id or user key). |
Updates an avatar's properties to match those in the given avatar. The avatar too change is identified by the id of the given avatar.
avatar | the avatar to update, must not be null. |
---|