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) void
setGlobalTheme
(String themeCompleteKey) void
setSpaceTheme
(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 theDefaultTheme
should be returned.- Returns:
- a theme, not null.
-
getSpaceTheme
-
getGlobalThemeKey
String getGlobalThemeKey() -
getSpaceThemeKey
-
getAvailableThemeDescriptors
List<ThemeModuleDescriptor> getAvailableThemeDescriptors() -
setGlobalTheme
-
setSpaceTheme
-