public interface

ThemeManager

com.atlassian.confluence.themes.ThemeManager
Known Indirect Subclasses

Summary

Public Methods
abstract List getAvailableThemeDescriptors()
abstract Theme getGlobalTheme()
Gets the globally configured theme.
abstract String getGlobalThemeKey()
abstract Theme getSpaceTheme(String spaceKey)
abstract String getSpaceThemeKey(String spaceKey)
abstract void setGlobalTheme(String themeCompleteKey)
abstract void setSpaceTheme(String spaceKey, String themeCompleteKey)

Public Methods

public abstract List getAvailableThemeDescriptors ()

public abstract 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 the DefaultTheme should be returned.

Returns
  • a theme, not null.

public abstract String getGlobalThemeKey ()

public abstract Theme getSpaceTheme (String spaceKey)

public abstract String getSpaceThemeKey (String spaceKey)

public abstract void setGlobalTheme (String themeCompleteKey)

public abstract void setSpaceTheme (String spaceKey, String themeCompleteKey)