Package io.goobi.viewer.managedbeans
Class AdminThemesBean
java.lang.Object
io.goobi.viewer.managedbeans.AdminThemesBean
- All Implemented Interfaces:
Serializable
- Author:
- Florian Alpers
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDarkFullscreenLogo(String defaultUrl) Fullscreen logo for the dark color mode; falls back to the regular fullscreen logo.getDarkFullscreenLogo(String defaultUrl, int width, int height) getDarkLogo(String defaultUrl) Logo for the dark color mode; falls back to the regular logo.getDarkLogo(String defaultUrl, int width, int height) getFooterUrl(ThemeLink.InternalService service) getFooterUrl(ThemeLink.InternalService service, String defaultUrl) getFullscreenLogo(String defaultUrl) getFullscreenLogo(String defaultUrl, int width, int height) getJavascript(String themeName) getSocialMediaUrl(ThemeLink.SocialMediaService service, String defaultUrl) getStylesheet(String themeName) getThemeLabel(String defaultLabel) booleanhasFooterUrl(ThemeLink.InternalService service) booleanbooleanbooleanbooleanisSubThemeConfigured(String name) booleanjavascriptExists(String themeName) booleanstylesheetExists(String themeName)
-
Constructor Details
-
AdminThemesBean
public AdminThemesBean()
-
-
Method Details
-
loadSubThemeName
-
getCurrentSubThemeName
-
getMainThemeName
-
isMainThemeConfigured
public boolean isMainThemeConfigured() -
isSubThemeConfigured
-
getMainThemeConfiguration
-
getSubThemeConfiguration
-
getNotConfiguredSubThemes
-
getConfiguredSubThemes
-
getSubThemeNames
-
getCurrentTheme
- Throws:
DAOException
-
isCurrentThemeConfigured
- Throws:
DAOException
-
getSocialMediaUrl
public String getSocialMediaUrl(ThemeLink.SocialMediaService service, String defaultUrl) throws DAOException - Throws:
DAOException
-
getSocialMediaUrl
- Throws:
DAOException
-
hasSocialMediaUrl
- Throws:
DAOException
-
getLogo
- Throws:
DAOException
-
getLogo
- Throws:
DAOException
-
getIcon
- Throws:
DAOException
-
getIcon
- Throws:
DAOException
-
getFullscreenLogo
- Throws:
DAOException
-
getFullscreenLogo
- Throws:
DAOException
-
getDarkLogo
Logo for the dark color mode; falls back to the regular logo.- Throws:
DAOException
-
getDarkLogo
- Throws:
DAOException
-
getDarkFullscreenLogo
Fullscreen logo for the dark color mode; falls back to the regular fullscreen logo.- Throws:
DAOException
-
getDarkFullscreenLogo
- Throws:
DAOException
-
getThemeLabel
- Throws:
DAOException
-
getThemeLabel
- Throws:
DAOException
-
stylesheetExists
-
javascriptExists
-
getStylesheet
- Throws:
DAOException
-
getJavascript
- Throws:
DAOException
-