java.lang.Object | |
↳ | com.atlassian.jira.mock.MockAvatar |
Non production bean implementation of Avatar
.
[Expand]
Inherited Fields | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The type of Avatar.
| |||||||||||
The MIME type of the avatar image file.
| |||||||||||
The base filename to the avatar image file.
| |||||||||||
The database identifier for the Avatar, may be null if it hasn't yet been stored or if database identifiers are
not supported.
| |||||||||||
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.
| |||||||||||
Indicates whether the Avatar is a system-provided one or if users have defined it.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||
![]()
|
The MIME type of the avatar image file.
The base filename to the avatar image file. The actual file name will be modified with the id etc.
The database identifier for the Avatar, may be null if it hasn't yet been stored or if database identifiers are not supported. This will always return null for user avatars in some deployment configurations. Avatars for other purposes (e.g. Projects) may follow this in future versions and this method will be deprecated entirely. The id should not be used to construct URLs to the currently-configured avatar for anything. This method should only be used when it is necessary to refer to an avatar that is not currently the configured avatar for the domain object. The only use cases where this is needed are those to do with modifying or viewing detailed avatar configuration.
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. The meaning of this should be determined by the
Avatar.Type
.
Indicates whether the Avatar is a system-provided one or if users have defined it.