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.
An implementation of
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.
-
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
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.getPluginSettings
(String pluginKey) Deprecated.getSpaceSettings
(String spaceKey) Deprecated.boolean
Deprecated.void
setBandanaManager
(com.atlassian.bandana.BandanaManager bandanaManager) Deprecated.void
setEventPublisher
(com.atlassian.event.api.EventPublisher eventPublisher) Deprecated.void
setGlobalDescriptionDao
(GlobalDescriptionDao globalDescriptionDao) Deprecated.void
setUpgradedFlag
(UpgradedFlag upgradedFlag) Deprecated.void
setUpgradeManager
(UpgradeManager upgradeManager) Deprecated.since 7.20.4 usesetUpgradedFlag(com.atlassian.confluence.upgrade.UpgradedFlag)
void
updateGlobalDescription
(GlobalDescription globalDescription) Deprecated.void
updateGlobalSettings
(Settings settings) Deprecated.void
updatePluginSettings
(String pluginKey, Serializable pluginSettings) Deprecated.void
updateSpaceSettings
(SpaceSettings spaceSettings) Deprecated.
-
Constructor Details
-
DefaultSettingsManager
public DefaultSettingsManager()Deprecated.
-
-
Method Details
-
getGlobalSettings
Deprecated.- Specified by:
getGlobalSettings
in interfaceGlobalSettingsManager
- Specified by:
getGlobalSettings
in interfaceSettingsManager
-
updateGlobalSettings
Deprecated.- Specified by:
updateGlobalSettings
in interfaceGlobalSettingsManager
- Specified by:
updateGlobalSettings
in interfaceSettingsManager
-
getSpaceSettings
Deprecated.- Specified by:
getSpaceSettings
in interfaceSettingsManager
- Specified by:
getSpaceSettings
in interfaceSpaceSettingsManager
-
updateSpaceSettings
Deprecated.- Specified by:
updateSpaceSettings
in interfaceSettingsManager
- Specified by:
updateSpaceSettings
in interfaceSpaceSettingsManager
-
getPluginSettings
Deprecated.- Specified by:
getPluginSettings
in interfaceLegacyPluginSettingsManager
- Specified by:
getPluginSettings
in interfaceSettingsManager
-
updatePluginSettings
Deprecated.- Specified by:
updatePluginSettings
in interfaceLegacyPluginSettingsManager
- Specified by:
updatePluginSettings
in interfaceSettingsManager
-
setBandanaManager
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager) Deprecated. -
setEventPublisher
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher) Deprecated. -
isNofollowExternalLinks
public boolean isNofollowExternalLinks()Deprecated. -
setUpgradeManager
Deprecated.since 7.20.4 usesetUpgradedFlag(com.atlassian.confluence.upgrade.UpgradedFlag)
-
setUpgradedFlag
Deprecated.- Since:
- 7.20.4
-
getGlobalDescription
Deprecated.- Specified by:
getGlobalDescription
in interfaceGlobalDescriptionManager
- Specified by:
getGlobalDescription
in interfaceSettingsManager
-
updateGlobalDescription
Deprecated.- Specified by:
updateGlobalDescription
in interfaceGlobalDescriptionManager
- Specified by:
updateGlobalDescription
in interfaceSettingsManager
-
setGlobalDescriptionDao
Deprecated.
-
DelegatingLegacySettingsManager