com.atlassian.confluence.themes
Interface ThemeManager

All Known Implementing Classes:
DefaultThemeManager

public interface ThemeManager


Method Summary
 java.util.List getAvailableThemeDescriptors()
           
 Theme getGlobalTheme()
          Gets the globally configured theme.
 java.lang.String getGlobalThemeKey()
           
 Theme getSpaceTheme(java.lang.String spaceKey)
           
 java.lang.String getSpaceThemeKey(java.lang.String spaceKey)
           
 void setGlobalTheme(java.lang.String themeCompleteKey)
           
 void setSpaceTheme(java.lang.String spaceKey, java.lang.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(java.lang.String spaceKey)

getGlobalThemeKey

java.lang.String getGlobalThemeKey()

getSpaceThemeKey

java.lang.String getSpaceThemeKey(java.lang.String spaceKey)

getAvailableThemeDescriptors

java.util.List getAvailableThemeDescriptors()

setGlobalTheme

void setGlobalTheme(java.lang.String themeCompleteKey)

setSpaceTheme

void setSpaceTheme(java.lang.String spaceKey,
                   java.lang.String themeCompleteKey)


Copyright © 2003-2014 Atlassian. All Rights Reserved.