Interface SiteLogoManager

    • 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()
      • resetToDefault

        void resetToDefault()
      • useCustomLogo

        boolean useCustomLogo()