Interface SiteLogoManager
-
- All Known Implementing Classes:
AttachmentSiteLogoManager
public interface SiteLogoManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 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()
-
-