public class

TemporaryAvatarsImpl

extends Object
implements TemporaryAvatars
java.lang.Object
   ↳ com.atlassian.jira.avatar.temporary.TemporaryAvatarsImpl

Summary

Public Constructors
TemporaryAvatarsImpl(UniversalAvatarsService avatars)
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.avatar.TemporaryAvatars

Public Constructors

public TemporaryAvatarsImpl (UniversalAvatarsService avatars)

Public Methods

public void dispose (TemporaryAvatar avatar)

Dispose temporary avatar. Unsets if this is current temporary avatar.

public TemporaryAvatar getCurrentTemporaryAvatar ()

Get current temporary avatar.

public void storeTemporaryAvatar (ApplicationUser remoteUser, TemporaryAvatar avatar, Avatar.Type type, String ownerId)

Store temporary avatar - make it available to displaying servlet. There is only one temporary avatar stored for user session.

Parameters
remoteUser user that access avatar - null can be used for anonymous access.
avatar avatar to store
type type for which this avatar is
ownerId id of object (project/user/issuetype) to which this avatar is connected to