com.atlassian.confluence.plugins.lookandfeel
Interface SiteLogoManager

All Known Implementing Classes:
AttachmentSiteLogoManager

public interface SiteLogoManager


Method Summary
 SiteLogo getCurrent()
           
 java.lang.String getSiteLogoUrl()
           
 void resetToDefault()
           
 void uploadLogo(java.io.File logo, java.lang.String fileType)
          Uploads and saves custom site logo.
 boolean useCustomLogo()
           
 

Method Detail

uploadLogo

void uploadLogo(java.io.File logo,
                java.lang.String fileType)
                throws java.io.IOException
Uploads and saves custom site logo.

Parameters:
logo - custom logo file
fileType - file type
Throws:
java.lang.UnsupportedOperationException - if the fileType is not supported. PNG, JPG and GIF images are the only supported formats.
java.io.IOException - if resizing logo fails

getSiteLogoUrl

java.lang.String getSiteLogoUrl()

getCurrent

SiteLogo getCurrent()

resetToDefault

void resetToDefault()

useCustomLogo

boolean useCustomLogo()


Copyright © 2003-2014 Atlassian. All Rights Reserved.