@PublicApi
public interface TemporaryAvatars
Modifier and Type | Method and Description |
---|---|
void |
dispose(TemporaryAvatar avatar)
Dispose temporary avatar.
|
TemporaryAvatar |
getCurrentTemporaryAvatar()
Get current temporary avatar.
|
void |
storeTemporaryAvatar(ApplicationUser remoteUser,
TemporaryAvatar avatar,
Avatar.Type type,
String owningObjectId)
Deprecated.
This method cannot understand pluggable icon types.
Use
storeTemporaryAvatar(ApplicationUser, TemporaryAvatar, IconType, IconOwningObjectId) . Since v7.1 |
void |
storeTemporaryAvatar(ApplicationUser remoteUser,
TemporaryAvatar avatar,
IconType iconType,
IconOwningObjectId owningObjectId)
Store temporary avatar - make it available to displaying servlet.
|
void storeTemporaryAvatar(@Nonnull ApplicationUser remoteUser, @Nonnull TemporaryAvatar avatar, @Nonnull Avatar.Type type, @Nonnull String owningObjectId) throws IllegalAccessException
storeTemporaryAvatar(ApplicationUser, TemporaryAvatar, IconType, IconOwningObjectId)
. Since v7.1remoteUser
- user that access avatar - null can be used for anonymous access.avatar
- avatar to storetype
- type for which this avatar isowningObjectId
- id of object (project/user/issuetype) to which this avatar is connected toIllegalAccessException
void storeTemporaryAvatar(@Nonnull ApplicationUser remoteUser, @Nonnull TemporaryAvatar avatar, @Nonnull IconType iconType, @Nonnull IconOwningObjectId owningObjectId) throws IllegalAccessException
remoteUser
- user that access avatar - null can be used for anonymous access.avatar
- avatar to storeiconType
- type for which this avatar isowningObjectId
- id of object (project/user/issuetype) to which this avatar is connected toIllegalAccessException
@Nullable TemporaryAvatar getCurrentTemporaryAvatar()
void dispose(@Nonnull TemporaryAvatar avatar)
Copyright © 2002-2019 Atlassian. All Rights Reserved.