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