com.atlassian.confluence.plugins.avatar
Class LegacyAvatarUrlHelper

java.lang.Object
  extended by com.atlassian.confluence.plugins.avatar.LegacyAvatarUrlHelper
All Implemented Interfaces:
AvatarUrlHelper

public class LegacyAvatarUrlHelper
extends Object
implements AvatarUrlHelper


Constructor Summary
LegacyAvatarUrlHelper(com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider, UserAccessor userAccessor, PermissionManager permissionManager)
           
 
Method Summary
 String getAvatarUrl(String username, int width)
          The avatar URL including any context path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyAvatarUrlHelper

public LegacyAvatarUrlHelper(com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider,
                             UserAccessor userAccessor,
                             PermissionManager permissionManager)
Method Detail

getAvatarUrl

public String getAvatarUrl(String username,
                           int width)
Description copied from interface: AvatarUrlHelper
The avatar URL including any context path.

Specified by:
getAvatarUrl in interface AvatarUrlHelper
Parameters:
username - the name of the user
width - the width of the avatar. Must be greater than 0.
Returns:
the avatar URL including any context path.


Copyright © 2003-2013 Atlassian. All Rights Reserved.