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)
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
remoteUser - 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@Nullable TemporaryAvatar getCurrentTemporaryAvatar()
void dispose(@Nonnull TemporaryAvatar avatar)
Copyright © 2002-2016 Atlassian. All Rights Reserved.