com.atlassian.confluence.spaces
Class DefaultSpaceLogoManager

java.lang.Object
  extended by com.atlassian.confluence.spaces.DefaultSpaceLogoManager
All Implemented Interfaces:
SpaceLogoManager

public class DefaultSpaceLogoManager
extends Object
implements SpaceLogoManager


Constructor Summary
DefaultSpaceLogoManager(UserAccessor userAccessor, PermissionManager permissionManager, SpaceManager spaceManager)
           
 
Method Summary
 String getLogoDownloadPath(Space space, com.atlassian.user.User viewingUser)
          Returns the download path for the logo of a given space.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSpaceLogoManager

public DefaultSpaceLogoManager(UserAccessor userAccessor,
                               PermissionManager permissionManager,
                               SpaceManager spaceManager)
Method Detail

getLogoDownloadPath

public String getLogoDownloadPath(Space space,
                                  com.atlassian.user.User viewingUser)
Description copied from interface: SpaceLogoManager
Returns the download path for the logo of a given space. If the space is a personal space the owner's profile picture is used.

Specified by:
getLogoDownloadPath in interface SpaceLogoManager
Parameters:
space - the space to retrieve the logo from
viewingUser - the user that is viewing the space
Returns:
the download path for the logo of a given space.


Copyright © 2003-2011 Atlassian. All Rights Reserved.