com.atlassian.confluence.themes
Interface ThemeManager

All Known Implementing Classes:
DefaultThemeManager

public interface ThemeManager


Method Summary
 List 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 the DefaultTheme should be returned.

Returns:
a theme, not null.

getSpaceTheme

Theme getSpaceTheme(String spaceKey)

getGlobalThemeKey

String getGlobalThemeKey()

getSpaceThemeKey

String getSpaceThemeKey(String spaceKey)

getAvailableThemeDescriptors

List getAvailableThemeDescriptors()

setGlobalTheme

void setGlobalTheme(String themeCompleteKey)

setSpaceTheme

void setSpaceTheme(String spaceKey,
                   String themeCompleteKey)


Copyright © 2003-2011 Atlassian. All Rights Reserved.