Modifier and Type | Method and Description |
---|---|
IconType |
AvatarImpl.getIconType() |
IconType |
Avatar.getIconType()
Get the icon 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) |
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.
|
static AvatarImpl |
AvatarImpl.createCustomAvatar(String fileName,
String contentType,
String ownerId,
IconType iconType) |
static AvatarImpl |
AvatarImpl.createSystemAvatar(String fileName,
String contentType,
IconType iconType)
Factory method for creating a system Avatar to be created by
AvatarManager . |
AvatarPickerHelperImpl.Result<AvatarPickerHelperImpl.TemporaryAvatarBean> |
AvatarPickerHelper.cropTemporary(String ownerId,
IconType iconType,
Selection selection)
Crops the temporary avatar (uploaded) using the given selection.
|
AvatarPickerHelperImpl.Result<AvatarPickerHelperImpl.TemporaryAvatarBean> |
AvatarPickerHelperImpl.cropTemporary(String ownerId,
IconType iconType,
Selection selection) |
List<Avatar> |
CachingTaggingAvatarStore.getAllSystemAvatars(IconType iconType) |
List<Avatar> |
AvatarStore.getAllSystemAvatars(IconType iconType)
Provides a list of all system avatars.
|
List<Avatar> |
AvatarManagerImpl.getAllSystemAvatars(IconType iconType) |
List<Avatar> |
AvatarManager.getAllSystemAvatars(IconType iconType)
Provides a list of all system avatars.
|
static Avatar.Type |
Avatar.Type.getByIconType(IconType iconType)
Deprecated.
Convert from an iconType.
|
List<Avatar> |
CachingTaggingAvatarStore.getCustomAvatarsForOwner(IconType iconType,
String ownerId) |
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> |
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.
|
Avatar |
AvatarManagerImpl.getDefaultAvatar(IconType iconType) |
Avatar |
AvatarManager.getDefaultAvatar(IconType iconType)
Gets the default avatar for the given type.
|
Long |
AvatarManagerImpl.getDefaultAvatarId(IconType iconType) |
Long |
AvatarManager.getDefaultAvatarId(IconType iconType)
Gets the default avatar ID for the given type.
|
List<Avatar> |
CachingTaggingAvatarStore.getSystemAvatarsForFilename(IconType iconType,
String filename) |
List<Avatar> |
AvatarStore.getSystemAvatarsForFilename(IconType iconType,
String filename)
Get the system icon with a particular filename.
|
boolean |
AvatarManagerImpl.isValidIconType(IconType iconType) |
boolean |
AvatarManager.isValidIconType(IconType iconType)
Check if this is a valid icon type.
|
void |
TemporaryAvatars.storeTemporaryAvatar(ApplicationUser remoteUser,
TemporaryAvatar avatar,
IconType iconType,
IconOwningObjectId owningObjectId)
Store temporary avatar - make it available to displaying servlet.
|
AvatarPickerHelperImpl.Result<AvatarPickerHelperImpl.TemporaryAvatarBean> |
AvatarPickerHelper.upload(InputStream stream,
String fileName,
String contentType,
long size,
String ownerId,
IconType iconType)
Handles upload of temporary avatar
|
AvatarPickerHelperImpl.Result<AvatarPickerHelperImpl.TemporaryAvatarBean> |
AvatarPickerHelperImpl.upload(InputStream stream,
String fileName,
String contentType,
long size,
String ownerId,
IconType iconType) |
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) |
Constructor and Description |
---|
BasicTypedTypeAvatarService(IconType iconType,
AvatarManager avatarManager) |
Modifier and Type | Field and Description |
---|---|
static IconType |
IconType.ISSUE_TYPE_ICON_TYPE
An icon type for a
IssueType . |
static IconType |
IconType.PROJECT_ICON_TYPE
An icon type for a
Project . |
static IconType |
IconType.USER_ICON_TYPE
An icon type for a
ApplicationUser . |
Modifier and Type | Method and Description |
---|---|
static IconType |
IconType.of(String key) |
Modifier and Type | Method and Description |
---|---|
IconType |
MockAvatar.getIconType() |
Constructor and Description |
---|
MockAvatar(long id,
String fileName,
String contentType,
IconType iconType,
String owner,
boolean system) |
Modifier and Type | Method and Description |
---|---|
String |
IconTypeDefinitionFactory.getDefaultSystemIconFilename(IconType iconType)
Get the default system icon filename for this icon type.
|
String |
IconTypeDefinitionFactoryImpl.getDefaultSystemIconFilename(IconType iconType) |
IconTypeDefinition |
IconTypeDefinitionFactory.getDefinition(IconType iconType)
Get the type definition for the icon type.
|
IconTypeDefinition |
IconTypeDefinitionFactoryImpl.getDefinition(IconType iconType) |
IconTypeDefinition |
IconTypeDefinitionFactoryImpl.IconTypeNameCollector.getDefinition(IconType iconType) |
IconTypeModuleDescriptor |
IconTypeDefinitionFactoryImpl.IconTypeNameCollector.getModule(IconType iconType) |
Modifier and Type | Method and Description |
---|---|
Avatar |
TemporaryAvatarHelper.convertTemporaryToReal(ApplicationUser remoteUser,
String ownerId,
IconType iconType,
Selection selection) |
AvatarBean |
TemporaryAvatarHelper.createAvatarFromTemporary(ApplicationUser remoteUser,
IconType iconType,
String ownerId,
AvatarCroppingBean croppingInstructions) |
javax.ws.rs.core.Response |
TemporaryAvatarHelper.storeTemporaryAvatar(ApplicationUser remoteUser,
IconType iconType,
String ownerId,
Avatar.Size targetSize,
com.atlassian.plugins.rest.common.multipart.FilePart filePart,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
TemporaryAvatarHelper.storeTemporaryAvatar(ApplicationUser remoteUser,
IconType iconType,
String ownerId,
Avatar.Size targetSize,
String filename,
Long size,
javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
AvatarResourceHelper.createAvatarFromTemporary(IconType iconType,
String ownerId,
AvatarCroppingBean croppingInstructions)
Converts temporary avatar into a real avatar
|
javax.ws.rs.core.Response |
AvatarResourceHelper.cropTemporaryAvatar(IconType iconType,
String ownerId,
AvatarCroppingBean croppingInstructions) |
Map<String,List<AvatarBean>> |
AvatarResourceHelper.getAllAvatars(IconType iconType,
String ownerId,
Long selectedAvatarId)
Returns all avatars which are visible for the currently logged in user.
|
javax.ws.rs.core.Response |
AvatarResourceHelper.getAllSystemAvatars(IconType iconType)
Returns all system avatars of the given type.
|
javax.ws.rs.core.Response |
AvatarResourceHelper.storeTemporaryAvatar(IconType iconType,
String ownerId,
String filename,
Long size,
javax.servlet.http.HttpServletRequest request)
Creates temporary avatar and provides instructions for cropping (if needed)
|
javax.ws.rs.core.Response |
AvatarResourceHelper.storeTemporaryAvatarUsingMultiPart(IconType iconType,
String ownerId,
com.atlassian.plugins.rest.common.multipart.FilePart filePart,
javax.servlet.http.HttpServletRequest request)
Creates temporary avatar using multipart.
|
Copyright © 2002-2017 Atlassian. All Rights Reserved.