Interface SiteLogoManager
- All Known Implementing Classes:
AttachmentDarkSiteLogoManager,AttachmentLightSiteLogoManager,AttachmentSiteLogoManager
public interface SiteLogoManager
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoiduploadLogo(File logo, String fileType) Uploads and saves custom site logo.boolean
-
Method Details
-
uploadLogo
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()
-