Package io.goobi.viewer.managedbeans
Class AdminThemesBean
java.lang.Object
io.goobi.viewer.managedbeans.AdminThemesBean
- All Implemented Interfaces:
Serializable
- Author:
- florian
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFooterUrl
(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) boolean
hasFooterUrl
(ThemeLink.InternalService service) boolean
boolean
boolean
boolean
isSubThemeConfigured
(String name) boolean
javascriptExists
(String themeName) boolean
stylesheetExists
(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
-
getThemeLabel
- Throws:
DAOException
-
getThemeLabel
- Throws:
DAOException
-
stylesheetExists
-
javascriptExists
-
getStylesheet
- Throws:
DAOException
-
getJavascript
- Throws:
DAOException
-