com.atlassian.confluence.setup.settings
Class DefaultSettingsManager
java.lang.Object
com.atlassian.confluence.setup.settings.DefaultSettingsManager
- All Implemented Interfaces:
- ConfluenceBandanaKeys, SettingsManager
public class DefaultSettingsManager
- extends java.lang.Object
- implements SettingsManager, ConfluenceBandanaKeys
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.
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSettingsManager
public DefaultSettingsManager()
getGlobalSettings
public Settings getGlobalSettings()
- Specified by:
getGlobalSettings
in interface SettingsManager
updateGlobalSettings
public void updateGlobalSettings(Settings settings)
- Specified by:
updateGlobalSettings
in interface SettingsManager
getSpaceSettings
public SpaceSettings getSpaceSettings(java.lang.String spaceKey)
- Specified by:
getSpaceSettings
in interface SettingsManager
updateSpaceSettings
public void updateSpaceSettings(SpaceSettings spaceSettings)
- Specified by:
updateSpaceSettings
in interface SettingsManager
getPluginSettings
public java.io.Serializable getPluginSettings(java.lang.String pluginKey)
- Specified by:
getPluginSettings
in interface SettingsManager
updatePluginSettings
public void updatePluginSettings(java.lang.String pluginKey,
java.io.Serializable pluginSettings)
- Specified by:
updatePluginSettings
in interface SettingsManager
setBandanaManager
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
isNofollowExternalLinks
public boolean isNofollowExternalLinks()
setUpgradeManager
public void setUpgradeManager(UpgradeManager upgradeManager)
getGlobalDescription
public GlobalDescription getGlobalDescription()
- Specified by:
getGlobalDescription
in interface SettingsManager
updateGlobalDescription
public void updateGlobalDescription(GlobalDescription globalDescription)
- Specified by:
updateGlobalDescription
in interface SettingsManager
setGlobalDescriptionDao
public void setGlobalDescriptionDao(GlobalDescriptionDao globalDescriptionDao)
Copyright © 2003-2014 Atlassian. All Rights Reserved.