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 GlobalSettingsManager
getGlobalSettings
in interface SettingsManager
public void updateGlobalSettings(Settings settings)
updateGlobalSettings
in interface GlobalSettingsManager
updateGlobalSettings
in interface SettingsManager
public SpaceSettings getSpaceSettings(String spaceKey)
getSpaceSettings
in interface SettingsManager
getSpaceSettings
in interface SpaceSettingsManager
public void updateSpaceSettings(SpaceSettings spaceSettings)
updateSpaceSettings
in interface SettingsManager
updateSpaceSettings
in interface SpaceSettingsManager
public Serializable getPluginSettings(String pluginKey)
getPluginSettings
in interface LegacyPluginSettingsManager
getPluginSettings
in interface SettingsManager
public void updatePluginSettings(String pluginKey, Serializable pluginSettings)
updatePluginSettings
in interface LegacyPluginSettingsManager
updatePluginSettings
in interface SettingsManager
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
public boolean isNofollowExternalLinks()
public void setUpgradeManager(UpgradeManager upgradeManager)
public GlobalDescription getGlobalDescription()
getGlobalDescription
in interface GlobalDescriptionManager
getGlobalDescription
in interface SettingsManager
public void updateGlobalDescription(GlobalDescription globalDescription)
updateGlobalDescription
in interface GlobalDescriptionManager
updateGlobalDescription
in interface SettingsManager
public void setGlobalDescriptionDao(GlobalDescriptionDao globalDescriptionDao)
Copyright © 2003–2021 Atlassian. All rights reserved.