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) getSocialMediaUrl
(ThemeLink.SocialMediaService service, String defaultUrl) getThemeLabel
(String defaultLabel) boolean
hasFooterUrl
(ThemeLink.InternalService service) boolean
boolean
boolean
boolean
isSubThemeConfigured
(String name)
-
Constructor Details
-
AdminThemesBean
public AdminThemesBean()
-
-
Method Details
-
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
-
getStyleSheet
- Throws:
DAOException
-