com.atlassian.jira.avatar.temporary
Class TemporaryAvatarsImpl
java.lang.Object
com.atlassian.jira.avatar.temporary.TemporaryAvatarsImpl
- All Implemented Interfaces:
- TemporaryAvatars
public class TemporaryAvatarsImpl
- extends Object
- implements TemporaryAvatars
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemporaryAvatarsImpl
public TemporaryAvatarsImpl(UniversalAvatarsService avatars)
storeTemporaryAvatar
public void storeTemporaryAvatar(ApplicationUser remoteUser,
TemporaryAvatar avatar,
Avatar.Type type,
String ownerId)
throws IllegalAccessException
- Description copied from interface:
TemporaryAvatars
- Store temporary avatar - make it available to displaying servlet. There is only one temporary avatar stored for
user session.
- Specified by:
storeTemporaryAvatar
in interface TemporaryAvatars
- Parameters:
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 to
- Throws:
IllegalAccessException
getCurrentTemporaryAvatar
public TemporaryAvatar getCurrentTemporaryAvatar()
- Description copied from interface:
TemporaryAvatars
- Get current temporary avatar.
- Specified by:
getCurrentTemporaryAvatar
in interface TemporaryAvatars
dispose
public void dispose(TemporaryAvatar avatar)
- Description copied from interface:
TemporaryAvatars
- Dispose temporary avatar. Unsets if this is current temporary avatar.
- Specified by:
dispose
in interface TemporaryAvatars
Copyright © 2002-2015 Atlassian. All Rights Reserved.