Interface SiteLogoManager
-
- All Known Implementing Classes:
AttachmentSiteLogoManager
public interface SiteLogoManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SiteLogogetCurrent()StringgetSiteLogoUrl()voidresetToDefault()voiduploadLogo(File logo, String fileType)Uploads and saves custom site logo.booleanuseCustomLogo()
-
-
-
Method Detail
-
uploadLogo
void uploadLogo(File logo, String fileType) throws IOException
Uploads and saves custom site logo.- Parameters:
logo- custom logo filefileType- 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()
-
-