public class TemporaryAvatarsImpl extends Object implements TemporaryAvatars
Constructor and Description |
---|
TemporaryAvatarsImpl(AvatarManager avatarManager) |
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 ownerId)
Store temporary avatar - make it available to displaying servlet.
|
void |
storeTemporaryAvatar(ApplicationUser remoteUser,
TemporaryAvatar avatar,
IconType iconType,
IconOwningObjectId ownerId)
Store temporary avatar - make it available to displaying servlet.
|
public TemporaryAvatarsImpl(AvatarManager avatarManager)
public void storeTemporaryAvatar(ApplicationUser remoteUser, TemporaryAvatar avatar, Avatar.Type type, String ownerId) throws IllegalAccessException
TemporaryAvatars
storeTemporaryAvatar
in interface TemporaryAvatars
remoteUser
- user that access avatar - null can be used for anonymous access.avatar
- avatar to storetype
- type for which this avatar isownerId
- id of object (project/user/issuetype) to which this avatar is connected toIllegalAccessException
public void storeTemporaryAvatar(ApplicationUser remoteUser, TemporaryAvatar avatar, @Nonnull IconType iconType, IconOwningObjectId ownerId) throws IllegalAccessException
TemporaryAvatars
storeTemporaryAvatar
in interface TemporaryAvatars
remoteUser
- user that access avatar - null can be used for anonymous access.avatar
- avatar to storeiconType
- type for which this avatar isownerId
- id of object (project/user/issuetype) to which this avatar is connected toIllegalAccessException
public TemporaryAvatar getCurrentTemporaryAvatar()
TemporaryAvatars
getCurrentTemporaryAvatar
in interface TemporaryAvatars
public void dispose(TemporaryAvatar avatar)
TemporaryAvatars
dispose
in interface TemporaryAvatars
Copyright © 2002-2017 Atlassian. All Rights Reserved.