com.atlassian.confluence.plugins.lookandfeel
Interface SiteLogoManager

All Known Implementing Classes:
AttachmentSiteLogoManager

public interface SiteLogoManager


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

Method Detail

uploadLogo

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

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

getSiteLogoUrl

String getSiteLogoUrl()

getCurrent

SiteLogo getCurrent()

resetToDefault

void resetToDefault()

useCustomLogo

boolean useCustomLogo()


Copyright © 2003-2013 Atlassian. All Rights Reserved.