public interface ColourSchemeManager
Modifier and Type | Method and Description |
---|---|
String |
getColourSchemeSetting(Space space) |
ColourScheme |
getDefaultColourScheme()
Retrieve only the default color scheme, useful for the superbatch.
|
ColourScheme |
getGlobalColourScheme()
Retrieve the global colour scheme - for display, complete with global defaults.
|
ColourScheme |
getGlobalColourSchemeCustom()
Retrieve the global colour scheme for editing - with system defaults.
|
BaseColourScheme |
getGlobalColourSchemeIsolated()
Retrieve the isolated global colour scheme for editing - no global defaults.
|
ColourScheme |
getSpaceColourScheme(Space space)
Retrieve the colour scheme for a space - for display, complete with global defaults.
|
ColourScheme |
getSpaceColourScheme(String spaceKey)
Retrieve the colour scheme for a space - for display, complete with global defaults.
|
ColourScheme |
getSpaceColourSchemeCustom(String spaceKey)
Retrieve the custom colour scheme for a space - for editing, complete with global defaults and system defaults.
|
BaseColourScheme |
getSpaceColourSchemeIsolated(String spaceKey)
Retrieve the isolated colour scheme for a space for editing - no global defaults.
|
ColourScheme |
getSpaceThemeColourScheme(String spaceKey) |
ColourScheme |
getThemeColourScheme() |
void |
resetColourScheme(Space space) |
void |
saveGlobalColourScheme(BaseColourScheme colourScheme) |
void |
saveSpaceColourScheme(Space space,
BaseColourScheme colourScheme) |
void |
setColourSchemeSetting(Space space,
String value) |
ColourScheme getDefaultColourScheme()
ColourScheme getSpaceColourScheme(Space space)
For editing, use getSpaceColourScheme(String)
()}.
ColourScheme getSpaceColourScheme(String spaceKey)
For editing, use getSpaceColourSchemeCustom(String)
.
ColourScheme getGlobalColourScheme()
For editing, use getGlobalColourSchemeCustom()
.
ColourScheme getThemeColourScheme()
BaseColourScheme getSpaceColourSchemeIsolated(String spaceKey)
For display, use getSpaceColourScheme(com.atlassian.confluence.spaces.Space)
.
ColourScheme
that does not have any backing ColourScheme
s.ColourScheme getSpaceColourSchemeCustom(String spaceKey)
BaseColourScheme getGlobalColourSchemeIsolated()
For display, use getGlobalColourScheme()
.
ColourScheme
that does not have any backing ColourScheme
s.ColourScheme getGlobalColourSchemeCustom()
void resetColourScheme(Space space)
void saveSpaceColourScheme(Space space, BaseColourScheme colourScheme)
void saveGlobalColourScheme(BaseColourScheme colourScheme)
ColourScheme getSpaceThemeColourScheme(String spaceKey)
Copyright © 2003–2020 Atlassian. All rights reserved.