public class SetupColourSchemeManager extends Object implements ColourSchemeManager
Constructor and Description |
---|
SetupColourSchemeManager() |
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 string)
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 string)
Retrieve the isolated colour scheme for a space for editing - no global defaults.
|
ColourScheme |
getSpaceThemeColourScheme(String string) |
ColourScheme |
getThemeColourScheme() |
void |
resetColourScheme(Space space) |
void |
saveGlobalColourScheme(BaseColourScheme baseColourScheme) |
void |
saveSpaceColourScheme(Space space,
BaseColourScheme baseColourScheme) |
void |
setColourSchemeSetting(Space space,
String string) |
public ColourScheme getDefaultColourScheme()
ColourSchemeManager
getDefaultColourScheme
in interface ColourSchemeManager
public ColourScheme getSpaceColourScheme(Space space)
ColourSchemeManager
For editing, use ColourSchemeManager.getSpaceColourScheme(String)
()}.
getSpaceColourScheme
in interface ColourSchemeManager
public ColourScheme getSpaceColourScheme(String string)
ColourSchemeManager
For editing, use ColourSchemeManager.getSpaceColourSchemeCustom(String)
.
getSpaceColourScheme
in interface ColourSchemeManager
public ColourScheme getGlobalColourScheme()
ColourSchemeManager
For editing, use ColourSchemeManager.getGlobalColourSchemeCustom()
.
getGlobalColourScheme
in interface ColourSchemeManager
public ColourScheme getThemeColourScheme()
getThemeColourScheme
in interface ColourSchemeManager
public BaseColourScheme getSpaceColourSchemeIsolated(String string)
ColourSchemeManager
For display, use ColourSchemeManager.getSpaceColourScheme(com.atlassian.confluence.spaces.Space)
.
getSpaceColourSchemeIsolated
in interface ColourSchemeManager
ColourScheme
that does not have any backing ColourScheme
s.public BaseColourScheme getGlobalColourSchemeIsolated()
ColourSchemeManager
For display, use ColourSchemeManager.getGlobalColourScheme()
.
getGlobalColourSchemeIsolated
in interface ColourSchemeManager
ColourScheme
that does not have any backing ColourScheme
s.public ColourScheme getSpaceColourSchemeCustom(String spaceKey)
ColourSchemeManager
getSpaceColourSchemeCustom
in interface ColourSchemeManager
public ColourScheme getGlobalColourSchemeCustom()
ColourSchemeManager
getGlobalColourSchemeCustom
in interface ColourSchemeManager
public void resetColourScheme(Space space)
resetColourScheme
in interface ColourSchemeManager
public void saveSpaceColourScheme(Space space, BaseColourScheme baseColourScheme)
saveSpaceColourScheme
in interface ColourSchemeManager
public void saveGlobalColourScheme(BaseColourScheme baseColourScheme)
saveGlobalColourScheme
in interface ColourSchemeManager
public ColourScheme getSpaceThemeColourScheme(String string)
getSpaceThemeColourScheme
in interface ColourSchemeManager
public void setColourSchemeSetting(Space space, String string)
setColourSchemeSetting
in interface ColourSchemeManager
public String getColourSchemeSetting(Space space)
getColourSchemeSetting
in interface ColourSchemeManager
Copyright © 2003–2021 Atlassian. All rights reserved.