public class DefaultSpaceLogoManager extends Object implements SpaceLogoManager
Constructor and Description |
---|
DefaultSpaceLogoManager(UserAccessor userAccessor,
PermissionManager permissionManager,
SpaceManager spaceManager,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider) |
Modifier and Type | Method and Description |
---|---|
String |
getLogoDownloadPath(Space space,
com.atlassian.user.User viewingUser)
Returns the download path (relative to the application's base URI excluding context path)
for the logo of a given space.
|
String |
getLogoUriReference(Space space,
com.atlassian.user.User viewingUser)
Return a "URI reference" (a URL that may be relative to the application's base URI including context path
or an absolute URL) for the logo of a given space.
|
public DefaultSpaceLogoManager(UserAccessor userAccessor, PermissionManager permissionManager, SpaceManager spaceManager, com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider)
public String getLogoDownloadPath(Space space, com.atlassian.user.User viewingUser)
SpaceLogoManager
getLogoDownloadPath
in interface SpaceLogoManager
space
- the space to retrieve the logo fromviewingUser
- the user that is viewing the spacepublic String getLogoUriReference(Space space, com.atlassian.user.User viewingUser)
SpaceLogoManager
getLogoUriReference
in interface SpaceLogoManager
space
- the space to retrieve the logo fromviewingUser
- the user that is viewing the spaceCopyright © 2003–2019 Atlassian. All rights reserved.