Class DefaultSettingsManager
- java.lang.Object
-
- com.atlassian.confluence.setup.settings.DefaultSettingsManager
-
- All Implemented Interfaces:
ConfluenceBandanaKeys
,GlobalDescriptionManager
,GlobalSettingsManager
,LegacyPluginSettingsManager
,SettingsManager
,SpaceSettingsManager
@Deprecated public class DefaultSettingsManager extends Object implements SettingsManager, ConfluenceBandanaKeys
Deprecated.since 7.7, replaced byDelegatingLegacySettingsManager
An implementation ofSettingsManager
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.
-
-
Field Summary
-
Fields inherited from interface com.atlassian.confluence.setup.bandana.ConfluenceBandanaKeys
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 Summary
Constructors Constructor Description DefaultSettingsManager()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getGlobalSettings
public Settings getGlobalSettings()
Deprecated.- Specified by:
getGlobalSettings
in interfaceGlobalSettingsManager
- Specified by:
getGlobalSettings
in interfaceSettingsManager
-
updateGlobalSettings
public void updateGlobalSettings(Settings settings)
Deprecated.- Specified by:
updateGlobalSettings
in interfaceGlobalSettingsManager
- Specified by:
updateGlobalSettings
in interfaceSettingsManager
-
getSpaceSettings
public SpaceSettings getSpaceSettings(String spaceKey)
Deprecated.- Specified by:
getSpaceSettings
in interfaceSettingsManager
- Specified by:
getSpaceSettings
in interfaceSpaceSettingsManager
-
updateSpaceSettings
public void updateSpaceSettings(SpaceSettings spaceSettings)
Deprecated.- Specified by:
updateSpaceSettings
in interfaceSettingsManager
- Specified by:
updateSpaceSettings
in interfaceSpaceSettingsManager
-
getPluginSettings
public Serializable getPluginSettings(String pluginKey)
Deprecated.- Specified by:
getPluginSettings
in interfaceLegacyPluginSettingsManager
- Specified by:
getPluginSettings
in interfaceSettingsManager
-
updatePluginSettings
public void updatePluginSettings(String pluginKey, Serializable pluginSettings)
Deprecated.- Specified by:
updatePluginSettings
in interfaceLegacyPluginSettingsManager
- Specified by:
updatePluginSettings
in interfaceSettingsManager
-
setBandanaManager
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
Deprecated.
-
isNofollowExternalLinks
public boolean isNofollowExternalLinks()
Deprecated.
-
setUpgradeManager
public void setUpgradeManager(UpgradeManager upgradeManager)
Deprecated.
-
getGlobalDescription
public GlobalDescription getGlobalDescription()
Deprecated.- Specified by:
getGlobalDescription
in interfaceGlobalDescriptionManager
- Specified by:
getGlobalDescription
in interfaceSettingsManager
-
updateGlobalDescription
public void updateGlobalDescription(GlobalDescription globalDescription)
Deprecated.- Specified by:
updateGlobalDescription
in interfaceGlobalDescriptionManager
- Specified by:
updateGlobalDescription
in interfaceSettingsManager
-
setGlobalDescriptionDao
public void setGlobalDescriptionDao(GlobalDescriptionDao globalDescriptionDao)
Deprecated.
-
-