Package com.atlassian.confluence.themes
Interface ThemeManager
-
- All Known Implementing Classes:
DefaultThemeManager
public interface ThemeManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ThemeModuleDescriptor>getAvailableThemeDescriptors()ThemegetGlobalTheme()Gets the globally configured theme.StringgetGlobalThemeKey()ThemegetSpaceTheme(String spaceKey)StringgetSpaceThemeKey(String spaceKey)voidsetGlobalTheme(String themeCompleteKey)voidsetSpaceTheme(String spaceKey, String themeCompleteKey)
-
-
-
Method Detail
-
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.
-
getGlobalThemeKey
String getGlobalThemeKey()
-
getAvailableThemeDescriptors
List<ThemeModuleDescriptor> getAvailableThemeDescriptors()
-
setGlobalTheme
void setGlobalTheme(String themeCompleteKey)
-
-