Modifier and Type | Class and Description |
---|---|
class |
AvatarImpl
Immutable implementation.
|
Modifier and Type | Method and Description |
---|---|
Avatar |
AvatarManagerImpl.create(Avatar.Type avatarType,
String owningObjectId,
AvatarImageDataProvider imageDataProvider) |
Avatar |
AvatarManager.create(Avatar.Type avatarType,
String owningObjectId,
AvatarImageDataProvider imageDataProvider)
Deprecated.
|
Avatar |
AvatarStore.create(Avatar avatar)
Creates an avatar with the properties of the given avatar.
|
Avatar |
CachingTaggingAvatarStore.create(Avatar avatar) |
Avatar |
AvatarManagerImpl.create(Avatar avatar) |
Avatar |
AvatarManager.create(Avatar avatar)
Creates a database record for the given avatar.
|
Avatar |
AvatarManagerImpl.create(Avatar avatar,
InputStream imageData,
Selection croppingSelection) |
Avatar |
AvatarManager.create(Avatar avatar,
InputStream image,
Selection selection)
Creates a database record for the given avatar and uses the content of the InputStream as the image.
|
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,
ApplicationUser owner,
InputStream imageData,
Selection croppingSelection) |
Avatar |
AvatarManager.create(String fileName,
String contentType,
ApplicationUser owner,
InputStream image,
Selection selection)
Deprecated.
|
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.
|
Avatar |
AvatarManagerImpl.create(String fileName,
String contentType,
Project project,
InputStream imageData,
Selection croppingSelection) |
Avatar |
AvatarManager.create(String fileName,
String contentType,
Project owner,
InputStream image,
Selection selection)
Deprecated.
|
Avatar |
TypeAvatarService.createAvatar(ApplicationUser remoteUser,
String owningObjectId,
AvatarImageDataProvider imageDataProvider)
Adds new avatar to given subject with provided image data - with permissions of given remote user.
|
protected Avatar |
AvatarServiceImpl.getAnonymousAvatar()
Returns the anonymous avatar, if configured.
|
Avatar |
AvatarServiceImpl.getAvatar(ApplicationUser remoteUser,
ApplicationUser avatarUser) |
Avatar |
AvatarService.getAvatar(ApplicationUser remoteUser,
ApplicationUser avatarUser)
Returns the Avatar for the given user, if configured.
|
Avatar |
TypeAvatarService.getAvatar(ApplicationUser remoteUser,
long avatarId)
Return avatar using remote user permissions.
|
Avatar |
AvatarServiceImpl.getAvatar(ApplicationUser remoteUser,
String username) |
Avatar |
AvatarService.getAvatar(ApplicationUser remoteUser,
String username)
Deprecated.
Use
AvatarService.getAvatar(ApplicationUser, ApplicationUser) . Since v6.0 |
Avatar |
AvatarServiceImpl.getAvatarTagged(ApplicationUser remoteUser,
ApplicationUser avatarUser) |
Avatar |
AvatarService.getAvatarTagged(ApplicationUser remoteUser,
ApplicationUser avatarUser) |
Avatar |
AvatarStore.getById(Long avatarId)
Retrieves the Avatar by id.
|
Avatar |
CachingTaggingAvatarStore.getById(Long avatarId) |
Avatar |
AvatarManagerImpl.getById(Long avatarId) |
Avatar |
AvatarManager.getById(Long avatarId)
Retrieve the avatar with the given id.
|
Avatar |
AvatarStore.getByIdTagged(Long avatarId)
Retrieves the Avatar by id,
ensuring the avatar file is tagged with metadata identifying the image came from JIRA.
|
Avatar |
CachingTaggingAvatarStore.getByIdTagged(Long avatarId) |
Avatar |
AvatarManagerImpl.getByIdTagged(Long avatarId) |
Avatar |
AvatarManager.getByIdTagged(Long avatarId)
Retrieve the avatar with the given id,
ensuring the avatar file is tagged with metadata identifying the image came from JIRA.
|
Avatar |
TypeAvatarService.getDefaultAvatar()
Get default avatar for current type.
|
Avatar |
AvatarManagerImpl.getDefaultAvatar(IconType iconType) |
Avatar |
AvatarManager.getDefaultAvatar(IconType iconType)
Gets the default avatar for the given type.
|
Modifier and Type | Method and Description |
---|---|
AvatarPickerHelperImpl.Result<Avatar> |
AvatarPickerHelper.convertTemporaryToReal(String ownerId,
IconType iconType,
Selection selection)
Converts temporary avatar (uploaded) to real avatar
|
AvatarPickerHelperImpl.Result<Avatar> |
AvatarPickerHelperImpl.convertTemporaryToReal(String ownerId,
IconType iconType,
Selection selection) |
List<Avatar> |
AvatarManagerImpl.getAllSystemAvatars(Avatar.Type type) |
List<Avatar> |
AvatarManager.getAllSystemAvatars(Avatar.Type type)
Deprecated.
Use
AvatarManager.getAllSystemAvatars(IconType) instead. Since v7.1 |
List<Avatar> |
AvatarStore.getAllSystemAvatars(IconType iconType)
Provides a list of all system avatars.
|
List<Avatar> |
CachingTaggingAvatarStore.getAllSystemAvatars(IconType iconType) |
List<Avatar> |
AvatarManagerImpl.getAllSystemAvatars(IconType iconType) |
List<Avatar> |
AvatarManager.getAllSystemAvatars(IconType iconType)
Provides a list of all system avatars.
|
Iterable<Avatar> |
SystemAndCustomAvatars.getCustomAvatars() |
List<Avatar> |
AvatarManagerImpl.getCustomAvatarsForOwner(Avatar.Type type,
String ownerId) |
List<Avatar> |
AvatarManager.getCustomAvatarsForOwner(Avatar.Type type,
String ownerId)
Deprecated.
there can only be one. Since v6.4.
|
List<Avatar> |
AvatarStore.getCustomAvatarsForOwner(IconType iconType,
String ownerId)
Provides a list of all avatars that are of the given type which have the given owner.
|
List<Avatar> |
CachingTaggingAvatarStore.getCustomAvatarsForOwner(IconType iconType,
String ownerId) |
List<Avatar> |
AvatarManagerImpl.getCustomAvatarsForOwner(IconType iconType,
String ownerId) |
List<Avatar> |
AvatarManager.getCustomAvatarsForOwner(IconType iconType,
String ownerId)
Provides a list of all avatars that are of the given type which have the given owner.
|
Iterable<Avatar> |
SystemAndCustomAvatars.getSystemAvatars() |
List<Avatar> |
AvatarStore.getSystemAvatarsForFilename(IconType iconType,
String filename)
Get the system icon with a particular filename.
|
List<Avatar> |
CachingTaggingAvatarStore.getSystemAvatarsForFilename(IconType iconType,
String filename) |
Modifier and Type | Method and Description |
---|---|
Avatar |
AvatarStore.create(Avatar avatar)
Creates an avatar with the properties of the given avatar.
|
Avatar |
CachingTaggingAvatarStore.create(Avatar avatar) |
Avatar |
AvatarManagerImpl.create(Avatar avatar) |
Avatar |
AvatarManager.create(Avatar avatar)
Creates a database record for the given avatar.
|
Avatar |
AvatarManagerImpl.create(Avatar avatar,
InputStream imageData,
Selection croppingSelection) |
Avatar |
AvatarManager.create(Avatar avatar,
InputStream image,
Selection selection)
Creates a database record for the given avatar and uses the content of the InputStream as the image.
|
File |
AvatarImageDataStorage.createAvatarFile(Avatar avatar,
Avatar.Size size) |
URI |
AvatarImageResolver.getAvatarAbsoluteUri(ApplicationUser remoteUser,
Avatar avatar,
Avatar.Size requestedSize)
Deprecated.
Return absolute link to display avatar image of given size.
|
static String |
AvatarFilenames.getAvatarFilename(Avatar avatar,
Avatar.Size size) |
URI |
AvatarImageResolver.getAvatarRelativeUri(ApplicationUser remoteUser,
Avatar avatar,
Avatar.Size requestedSize)
Deprecated.
Return link (relative to application context) to display avatar image of given size.
|
URI |
AvatarServiceImpl.getAvatarUrlNoPermCheck(ApplicationUser avatarUser,
Avatar avatar,
Avatar.Size size)
Builds a URI for a JIRA avatar with the requested size.
|
URI |
AvatarService.getAvatarUrlNoPermCheck(ApplicationUser applicationUser,
Avatar avatar,
Avatar.Size size)
Deprecated.
|
static Map<String,URI> |
AvatarUrls.getAvatarURLs(ApplicationUser avatarUser,
Avatar avatar)
Deprecated.
the notion of "all the avatar sizes" is broken. We plan to eventually scale to any reasonable pixel size.
|
com.atlassian.dc.filestore.api.FileStore.Path |
AvatarTranscoderImpl.getOrCreateRasterizedAvatarFile(Avatar avatar,
Avatar.Size size,
InputStream inputStream) |
com.atlassian.dc.filestore.api.FileStore.Path |
AvatarTranscoder.getOrCreateRasterizedAvatarFile(Avatar avatar,
Avatar.Size size,
InputStream inputStream)
Creates a PNG image file for the given avatar based on the base avatar image file which should be in SVG format.
|
boolean |
AvatarManagerImpl.hasImage(Avatar avatar,
Avatar.Size size) |
boolean |
AvatarManager.hasImage(Avatar avatar,
Avatar.Size size)
Checks if valid image exists for avatar and image can be consumed by
AvatarManager.readAvatarData(Avatar, Avatar.Size, AvatarFormatPolicy, MediaConsumer) . |
boolean |
AvatarManagerImpl.isAvatarOwner(Avatar avatar,
String ownerId) |
boolean |
AvatarManager.isAvatarOwner(Avatar avatar,
String ownerId)
Deprecated.
To be removed. Since v6.0
|
static boolean |
AvatarManagerImpl.isAvatarTranscodeable(Avatar avatar) |
void |
AvatarManagerImpl.readAvatarData(Avatar avatar,
Avatar.Size size,
AvatarFormatPolicy avatarFormatPolicy,
MediaConsumer mediaConsumer) |
void |
AvatarManager.readAvatarData(Avatar avatar,
Avatar.Size size,
AvatarFormatPolicy avatarFormatPolicy,
MediaConsumer mediaConsumer)
Provides read-only access to the data of the avatar image as an
InputStream passed to the
provided dataAccessor. |
void |
AvatarManagerImpl.readAvatarData(Avatar avatar,
Avatar.Size size,
Consumer<InputStream> dataAccessor) |
void |
AvatarManager.readAvatarData(Avatar avatar,
Avatar.Size size,
Consumer<InputStream> dataAccessor)
Provides read-only access to the data of the avatar image as an
InputStream passed to the
provided dataAccessor. |
void |
AvatarManagerImpl.readAvatarData(Avatar avatar,
AvatarManager.ImageSize size,
Consumer<InputStream> dataAccessor) |
void |
AvatarManager.readAvatarData(Avatar avatar,
AvatarManager.ImageSize size,
Consumer<InputStream> dataAccessor)
Deprecated.
v7.0.1 Please use
AvatarManager.readAvatarData(Avatar, Avatar.Size, Consumer) |
void |
AvatarImageDataStorage.storeAvatarFiles(Avatar avatar,
AvatarImageDataProvider imageDataProvider) |
void |
AvatarStore.update(Avatar avatar)
Updates an avatar's properties to match those in the given avatar.
|
void |
CachingTaggingAvatarStore.update(Avatar avatar) |
void |
AvatarManagerImpl.update(Avatar avatar) |
void |
AvatarManager.update(Avatar avatar)
Saves the avatar as an updated version of the avatar with the same id that is already in the database.
|
boolean |
AvatarManagerImpl.userCanDelete(ApplicationUser remoteUser,
Avatar icon) |
boolean |
AvatarManager.userCanDelete(ApplicationUser remoteUser,
Avatar icon)
Check if the user can delete the icon.
|
boolean |
AvatarManagerImpl.userCanView(ApplicationUser remoteUser,
Avatar icon) |
boolean |
AvatarManager.userCanView(ApplicationUser remoteUser,
Avatar icon)
Check if the user can view the icon.
|
Constructor and Description |
---|
SystemAndCustomAvatars(List<Avatar> systemAvatars,
List<Avatar> customAvatars) |
SystemAndCustomAvatars(List<Avatar> systemAvatars,
List<Avatar> customAvatars) |
Modifier and Type | Method and Description |
---|---|
Avatar |
BasicTypedTypeAvatarService.createAvatar(ApplicationUser remoteUser,
String owningObjectId,
AvatarImageDataProvider imageDataProvider) |
Avatar |
BasicTypedTypeAvatarService.getAvatar(ApplicationUser remoteUser,
long avatarId) |
Avatar |
BasicTypedTypeAvatarService.getDefaultAvatar() |
Modifier and Type | Method and Description |
---|---|
URI |
BasicAvatarsImageResolver.getAvatarAbsoluteUri(ApplicationUser avatarUser,
Avatar avatar,
Avatar.Size requestedSize)
Deprecated.
|
URI |
BasicAvatarsImageResolver.getAvatarRelativeUri(ApplicationUser remoteUser,
Avatar avatar,
Avatar.Size requestedSize)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Avatar |
MockIssueType.getAvatar() |
Avatar |
IssueTypeImpl.getAvatar() |
Avatar |
IssueType.getAvatar()
Get avatar assigned to this IssueType.
|
Constructor and Description |
---|
MockIssueType(String id,
String name,
boolean subTask,
Avatar avatar) |
Modifier and Type | Method and Description |
---|---|
String |
MailAttachmentsManagerImpl.getAvatarUrl(Avatar avatar,
Avatar.Size size,
String avatarOwnerDescription) |
String |
MailAttachmentsManager.getAvatarUrl(Avatar avatar,
Avatar.Size size,
String avatarOwnerDescription)
Returns a link to access
Avatar (icon for project or some other entity in Jira) in email message. |
static MailAttachment |
MailAttachments.newAvatarAttachment(Avatar avatar,
String avatarOwnerDescription,
AvatarManager avatarManager) |
static MailAttachment |
MailAttachments.newAvatarAttachment(Avatar avatar,
String avatarOwnerDescription,
AvatarManager avatarManager,
Avatar.Size size)
Creates an image attachment from provided avatar.
|
static MailAttachment |
MailAttachments.newTranscodedAvatarAttachment(Avatar avatar,
String avatarOwnerDescription,
AvatarManager avatarManager) |
static MailAttachment |
MailAttachments.newTranscodedAvatarAttachment(Avatar avatar,
String avatarOwnerDescription,
AvatarManager avatarManager,
Avatar.Size size)
Creates an image attachment from provided avatar via
AvatarTranscoderImpl to get the image in raster fromat. |
Modifier and Type | Class and Description |
---|---|
class |
MockAvatar
Non production bean implementation of
Avatar . |
Modifier and Type | Method and Description |
---|---|
boolean |
MockProjectIconTypePolicy.userCanDelete(ApplicationUser remoteUser,
Avatar icon) |
boolean |
MockUserIconTypePolicy.userCanDelete(ApplicationUser remoteUser,
Avatar icon) |
boolean |
MockProjectIconTypePolicy.userCanView(ApplicationUser remoteUser,
Avatar icon) |
boolean |
MockUserIconTypePolicy.userCanView(ApplicationUser remoteUser,
Avatar icon) |
Modifier and Type | Method and Description |
---|---|
URI |
IconImageResolverImpl.getAvatarAbsoluteUri(ApplicationUser avatarUser,
Avatar avatar,
Avatar.Size requestedSize) |
URI |
IconImageResolverImpl.getAvatarRelativeUri(ApplicationUser remoteUser,
Avatar avatar,
Avatar.Size requestedSize) |
InputStream |
DefaultSystemIconImageProvider.getSystemIconInputStream(Avatar icon,
Avatar.Size size) |
InputStream |
SystemIconImageProvider.getSystemIconInputStream(Avatar icon,
Avatar.Size size)
Get the input stream for this system icon.
|
boolean |
UserIconTypePolicy.userCanDelete(ApplicationUser remoteUser,
Avatar icon) |
boolean |
IssueTypeIconTypePolicy.userCanDelete(ApplicationUser remoteUser,
Avatar icon) |
boolean |
ProjectIconTypePolicy.userCanDelete(ApplicationUser remoteUser,
Avatar icon) |
boolean |
IconTypePolicy.userCanDelete(ApplicationUser remoteUser,
Avatar icon)
Check if the user can delete the icon.
|
boolean |
UserIconTypePolicy.userCanView(ApplicationUser remoteUser,
Avatar icon) |
boolean |
IssueTypeIconTypePolicy.userCanView(ApplicationUser remoteUser,
Avatar icon) |
boolean |
ProjectIconTypePolicy.userCanView(ApplicationUser remoteUser,
Avatar icon) |
boolean |
IconTypePolicy.userCanView(ApplicationUser remoteUser,
Avatar icon)
Check if the user can view the icon.
|
Modifier and Type | Method and Description |
---|---|
Avatar |
MockProject.getAvatar() |
Avatar |
ProjectImpl.getAvatar() |
Avatar |
Project.getAvatar()
Gives the currently-configured
Avatar for this project. |
Modifier and Type | Method and Description |
---|---|
void |
MockProject.setAvatar(Avatar avatar) |
Modifier and Type | Method and Description |
---|---|
Avatar |
SimpleProject.getAvatar() |
Modifier and Type | Method and Description |
---|---|
Avatar |
TemporaryAvatarHelper.convertTemporaryToReal(ApplicationUser remoteUser,
String ownerId,
IconType iconType,
Selection selection) |
Modifier and Type | Method and Description |
---|---|
static Map<String,URI> |
AvatarUrls.getAvatarURLs(ApplicationUser avatarUser,
Avatar avatar)
Deprecated.
the notion of "all the avatar sizes" is broken. We plan to eventually scale to any reasonable pixel size.
|
Map<String,URI> |
AvatarUrls.getAvatarURLs(ApplicationUser remoteUser,
Avatar avatar,
AvatarImageResolver avatarImageResolver)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AvatarBean |
AvatarBeanFactory.createAvatarBean(Avatar avatar,
ApplicationUser remoteUser,
boolean userCanDelete)
Creates an AvatarBean from Avatar domain object
|
Modifier and Type | Method and Description |
---|---|
List<AvatarBean> |
AvatarBeanFactory.createAvatarBeans(List<Avatar> avatars,
ApplicationUser avatarUser)
Create a list of AvatarBeans given the passed List of Avatar domain objects.
|
Modifier and Type | Method and Description |
---|---|
Avatar |
AvatarToStream.AvatarData.getAvatar() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractAvatarServlet.avatarOkForOwner(String ownerId,
Avatar avatar) |
Constructor and Description |
---|
AvatarData(Avatar avatar,
Avatar.Size size)
Constructs avatar data with default cache policy.
|
AvatarData(Avatar avatar,
Avatar.Size size,
AvatarToStream.CachePolicy cachePolicy)
Constructs avatar data.
|
Copyright © 2002-2021 Atlassian. All Rights Reserved.