Package com.atlassian.confluence.themes
Interface ColourSchemeManager
- All Known Implementing Classes:
DefaultColourSchemeManager,SetupColourSchemeManager
public interface ColourSchemeManager
-
Method Summary
Modifier and TypeMethodDescriptiongetColourSchemeSetting(Space space) Retrieve only the default color scheme, useful for the superbatch.Retrieve the global colour scheme - for display, complete with global defaults.Retrieve the global colour scheme for editing - with system defaults.Retrieve the isolated global colour scheme for editing - no global defaults.getSpaceColourScheme(Space space) Retrieve the colour scheme for a space - for display, complete with global defaults.getSpaceColourScheme(String spaceKey) Retrieve the colour scheme for a space - for display, complete with global defaults.getSpaceColourSchemeCustom(String spaceKey) Retrieve the custom colour scheme for a space - for editing, complete with global defaults and system defaults.getSpaceColourSchemeIsolated(String spaceKey) Retrieve the isolated colour scheme for a space for editing - no global defaults.getSpaceThemeColourScheme(String spaceKey) voidresetColourScheme(Space space) voidsaveGlobalColourScheme(BaseColourScheme colourScheme) voidsaveSpaceColourScheme(Space space, BaseColourScheme colourScheme) voidsetColourSchemeSetting(Space space, String value)
-
Method Details
-
getDefaultColourScheme
ColourScheme getDefaultColourScheme()Retrieve only the default color scheme, useful for the superbatch. -
getSpaceColourScheme
Retrieve the colour scheme for a space - for display, complete with global defaults.For editing, use
getSpaceColourScheme(String)()}. -
getSpaceColourScheme
Retrieve the colour scheme for a space - for display, complete with global defaults.For editing, use
getSpaceColourSchemeCustom(String). -
getGlobalColourScheme
ColourScheme getGlobalColourScheme()Retrieve the global colour scheme - for display, complete with global defaults.For editing, use
getGlobalColourSchemeCustom(). -
getThemeColourScheme
ColourScheme getThemeColourScheme() -
getSpaceColourSchemeIsolated
Retrieve the isolated colour scheme for a space for editing - no global defaults.For display, use
getSpaceColourScheme(com.atlassian.confluence.spaces.Space).- Returns:
- a
ColourSchemethat does not have any backingColourSchemes.
-
getSpaceColourSchemeCustom
Retrieve the custom colour scheme for a space - for editing, complete with global defaults and system defaults. -
getGlobalColourSchemeIsolated
BaseColourScheme getGlobalColourSchemeIsolated()Retrieve the isolated global colour scheme for editing - no global defaults.For display, use
getGlobalColourScheme().- Returns:
- a
ColourSchemethat does not have any backingColourSchemes.
-
getGlobalColourSchemeCustom
ColourScheme getGlobalColourSchemeCustom()Retrieve the global colour scheme for editing - with system defaults. -
resetColourScheme
-
saveSpaceColourScheme
-
saveGlobalColourScheme
-
getSpaceThemeColourScheme
-
setColourSchemeSetting
-
getColourSchemeSetting
-