|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface Avatar
Represents an icon for a project or some other entity in JIRA.
Nested Class Summary | |
---|---|
static class |
Avatar.Size
The standard sizes for avatars. |
static class |
Avatar.Type
An indicator of the owner type of the avatar. |
Field Summary | |
---|---|
static List<String> |
demotedSystemProjectAvatars
These are the filenames of avatars that used to be available as system avatars, but were to be removed from the list of avatar options available to new projects. |
Method Summary | |
---|---|
Avatar.Type |
getAvatarType()
The type of Avatar. |
String |
getContentType()
The MIME type of the avatar image file. |
String |
getFileName()
The base filename to the avatar image file. |
Long |
getId()
The database identifier for the Avatar, may be null if it hasn't yet been stored. |
String |
getOwner()
A String representation of the identity of the domain object that this avatar is an avatar for! For example, if it is a user avatar, it would be the username (since that is the primary key), for a Project it is the project ID as a String. |
boolean |
isSystemAvatar()
Indicates whether the Avatar is a system-provided one or if users have defined it. |
Field Detail |
---|
static final List<String> demotedSystemProjectAvatars
Method Detail |
---|
@Nonnull Avatar.Type getAvatarType()
@Nonnull String getFileName()
@Nonnull String getContentType()
Long getId()
@Nonnull String getOwner()
Avatar.Type
.
boolean isSystemAvatar()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |