com.atlassian.jira.avatar
Interface UniversalAvatarsService

All Known Implementing Classes:
UniversalAvatarsServiceImpl

@ExperimentalApi
public interface UniversalAvatarsService

Service to manpulate avatars of different types. (current implementation allows only Avatar.Type.ISSUETYPE and Avatar.Type.PROJECT

This is inteface to component that can be injected.

Since:
v6.3

Method Summary
 TypeAvatarService getAvatars(Avatar.Type type)
          Provides object deticated to manipilate avatars of given type.
 AvatarImageResolver getImages(Avatar.Type type)
          Provides object deticated to retireve links (or image date) to avatars of given type.
 

Method Detail

getAvatars

@Nullable
TypeAvatarService getAvatars(Avatar.Type type)
                             throws NoSuchElementException
Provides object deticated to manipilate avatars of given type. Returns null if there is no TypeAvatarService for such type.

Throws:
NoSuchElementException

getImages

@Nullable
AvatarImageResolver getImages(Avatar.Type type)
                              throws NoSuchElementException
Provides object deticated to retireve links (or image date) to avatars of given type. Returns null if there is no AvatarImageResolver for such type.

Throws:
NoSuchElementException


Copyright © 2002-2014 Atlassian. All Rights Reserved.