DelegatingLegacySettingsManager@Deprecated public class DefaultSettingsManager extends Object implements SettingsManager, ConfluenceBandanaKeys
SettingsManager which delegates to other implementations of the super-type interfaces.
For CONF-9959, this manager will only retrieve global and space settings from bandana if the system has been successfully upgraded. This check is done via the UpgradeManager and is done to avoid SQL on missing tables while we try and display an upgrade error to a client.
COLOUR_SCHEME, CSS_RESOURCE_COUNTER, CUSTOM_CSS, HTTP_CONFIG, MAIL_ACCOUNTS, PLUGINS_SETTINGS_PREFIX, SETTINGS, SHORTCUT_LINKS, SPACE_MAIL_ACCOUNTS, SPACE_SETTINGS, THEME_SETTINGS, USER_MACROS, USER_RESOURCES| Constructor and Description |
|---|
DefaultSettingsManager()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
GlobalDescription |
getGlobalDescription()
Deprecated.
|
Settings |
getGlobalSettings()
Deprecated.
|
Serializable |
getPluginSettings(String pluginKey)
Deprecated.
|
SpaceSettings |
getSpaceSettings(String spaceKey)
Deprecated.
|
boolean |
isNofollowExternalLinks()
Deprecated.
|
void |
setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
Deprecated.
|
void |
setGlobalDescriptionDao(GlobalDescriptionDao globalDescriptionDao)
Deprecated.
|
void |
setUpgradeManager(UpgradeManager upgradeManager)
Deprecated.
|
void |
updateGlobalDescription(GlobalDescription globalDescription)
Deprecated.
|
void |
updateGlobalSettings(Settings settings)
Deprecated.
|
void |
updatePluginSettings(String pluginKey,
Serializable pluginSettings)
Deprecated.
|
void |
updateSpaceSettings(SpaceSettings spaceSettings)
Deprecated.
|
public Settings getGlobalSettings()
getGlobalSettings in interface GlobalSettingsManagergetGlobalSettings in interface SettingsManagerpublic void updateGlobalSettings(Settings settings)
updateGlobalSettings in interface GlobalSettingsManagerupdateGlobalSettings in interface SettingsManagerpublic SpaceSettings getSpaceSettings(String spaceKey)
getSpaceSettings in interface SettingsManagergetSpaceSettings in interface SpaceSettingsManagerpublic void updateSpaceSettings(SpaceSettings spaceSettings)
updateSpaceSettings in interface SettingsManagerupdateSpaceSettings in interface SpaceSettingsManagerpublic Serializable getPluginSettings(String pluginKey)
getPluginSettings in interface LegacyPluginSettingsManagergetPluginSettings in interface SettingsManagerpublic void updatePluginSettings(String pluginKey, Serializable pluginSettings)
updatePluginSettings in interface LegacyPluginSettingsManagerupdatePluginSettings in interface SettingsManagerpublic void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
public boolean isNofollowExternalLinks()
public void setUpgradeManager(UpgradeManager upgradeManager)
public GlobalDescription getGlobalDescription()
getGlobalDescription in interface GlobalDescriptionManagergetGlobalDescription in interface SettingsManagerpublic void updateGlobalDescription(GlobalDescription globalDescription)
updateGlobalDescription in interface GlobalDescriptionManagerupdateGlobalDescription in interface SettingsManagerpublic void setGlobalDescriptionDao(GlobalDescriptionDao globalDescriptionDao)
Copyright © 2003–2022 Atlassian. All rights reserved.