Package com.atlassian.confluence.themes
Interface ThemeManager
- All Known Implementing Classes:
DefaultThemeManager
public interface ThemeManager
-
Method Summary
Modifier and TypeMethodDescriptionGets the globally configured theme.getSpaceTheme(String spaceKey) getSpaceThemeKey(String spaceKey) voidsetGlobalTheme(String themeCompleteKey) voidsetSpaceTheme(String spaceKey, String themeCompleteKey)
-
Method Details
-
getGlobalTheme
Theme getGlobalTheme()Gets the globally configured theme. If no theme is configured or the globally configured theme is a plugin that cannot be found, then theDefaultThemeshould be returned.- Returns:
- a theme, not null.
-
getSpaceTheme
-
getGlobalThemeKey
String getGlobalThemeKey() -
getSpaceThemeKey
-
getAvailableThemeDescriptors
List<ThemeModuleDescriptor> getAvailableThemeDescriptors() -
setGlobalTheme
-
setSpaceTheme
-