Class DefaultSpaceLogoManager

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

public class DefaultSpaceLogoManager extends Object implements SpaceLogoManager
  • Constructor Details

  • Method Details

    • getLogoDownloadPath

      public String getLogoDownloadPath(Space space, com.atlassian.user.User viewingUser)
      Description copied from interface: SpaceLogoManager
      Returns the download path (relative to the application's base URI excluding context 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.
    • getLogoUriReference

      public String getLogoUriReference(Space space, com.atlassian.user.User viewingUser)
      Description copied from interface: SpaceLogoManager
      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. If the space is a personal space the owner's profile picture is used.
      Specified by:
      getLogoUriReference 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.