@Manager public class DefaultAvatarManager extends Object implements AvatarManager
Default avatar manager which acts as a proxy between the clients (AvatarController) and the AvatarService
| Constructor and Description | 
|---|
DefaultAvatarManager(AvatarService avatarService,
                    UserManager userManager,
                    ThumbnailService thumbnailService,
                    AmbiguousIdHelper ambiguousIdHelper)  | 
| Modifier and Type | Method and Description | 
|---|---|
Thumbnail | 
getAvatar(String ambiguousId,
         int size)
Gets the avatar  
Thumbnail for a given user. | 
public DefaultAvatarManager(AvatarService avatarService, UserManager userManager, ThumbnailService thumbnailService, AmbiguousIdHelper ambiguousIdHelper)
public Thumbnail getAvatar(String ambiguousId, int size)
AvatarManagerGets the avatar Thumbnail for a given user.
getAvatar in interface AvatarManagerambiguousId - id of the user for which to get the avatar. If the user id has a value of 'NULL_USER_ID' the default avatar is returnedsize - the preferred size of the avatar thumbnail, 0 for the original sizeCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.