| Package | Description |
|---|---|
| com.atlassian.jira.avatar | |
| com.atlassian.jira.avatar.temporary | |
| com.atlassian.jira.icon | |
| com.atlassian.jira.mock | |
| com.atlassian.jira.plugin.icon |
| Modifier and Type | Method and Description |
|---|---|
Avatar |
AvatarManagerImpl.create(IconType iconType,
IconOwningObjectId owningObjectId,
AvatarImageDataProvider imageDataProvider) |
Avatar |
AvatarManager.create(IconType iconType,
IconOwningObjectId owningObjectId,
AvatarImageDataProvider imageDataProvider)
Creates a database record for the given avatar and uses the content of the InputStream as the image.
|
Avatar |
AvatarManagerImpl.create(String fileName,
String contentType,
IconType iconType,
IconOwningObjectId owner,
InputStream imageData,
Selection croppingSelection) |
Avatar |
AvatarManager.create(String fileName,
String contentType,
IconType iconType,
IconOwningObjectId owner,
InputStream image,
Selection selection)
Creates a database record for the given avatar and uses the content of the InputStream as the image.
|
void |
TemporaryAvatars.storeTemporaryAvatar(ApplicationUser remoteUser,
TemporaryAvatar avatar,
IconType iconType,
IconOwningObjectId owningObjectId)
Store temporary avatar - make it available to displaying servlet.
|
boolean |
AvatarManagerImpl.userCanCreateFor(ApplicationUser remoteUser,
IconType iconType,
IconOwningObjectId owningObjectId) |
boolean |
AvatarManager.userCanCreateFor(ApplicationUser remoteUser,
IconType iconType,
IconOwningObjectId owningObjectId)
Check if the user could create an avatar for this owning object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TemporaryAvatarsImpl.storeTemporaryAvatar(ApplicationUser remoteUser,
TemporaryAvatar avatar,
IconType iconType,
IconOwningObjectId ownerId) |
| Modifier and Type | Method and Description |
|---|---|
static IconOwningObjectId |
IconOwningObjectId.from(long id)
Creates an IconOwningObjectId from the given numeric ID.
|
static IconOwningObjectId |
IconOwningObjectId.from(WithId withId)
Creates an IconOwningObjectId from the given entity.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MockUserIconTypePolicy.userCanCreateFor(ApplicationUser remoteUser,
IconOwningObjectId owningObjectId) |
boolean |
MockProjectIconTypePolicy.userCanCreateFor(ApplicationUser remoteUser,
IconOwningObjectId owningObjectId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IssueTypeIconTypePolicy.userCanCreateFor(ApplicationUser remoteUser,
IconOwningObjectId owningObjectId) |
boolean |
ProjectIconTypePolicy.userCanCreateFor(ApplicationUser remoteUser,
IconOwningObjectId owningObjectId) |
boolean |
UserIconTypePolicy.userCanCreateFor(ApplicationUser remoteUser,
IconOwningObjectId owningObjectId) |
boolean |
IconTypePolicy.userCanCreateFor(ApplicationUser remoteUser,
IconOwningObjectId owningObjectId)
Check if the user could create an avatar for this owning object.
|
Copyright © 2002-2019 Atlassian. All Rights Reserved.