Class DelegatingLegacySettingsManager
- java.lang.Object
-
- com.atlassian.confluence.impl.settings.DelegatingLegacySettingsManager
-
- All Implemented Interfaces:
GlobalDescriptionManager
,GlobalSettingsManager
,LegacyPluginSettingsManager
,SettingsManager
,SpaceSettingsManager
public class DelegatingLegacySettingsManager extends Object implements SettingsManager
An implementation of thelegacySettingsManager
interface which delegates to its component interfaces.- Since:
- 7.7
-
-
Constructor Summary
Constructors Constructor Description DelegatingLegacySettingsManager(GlobalSettingsManager globalSettingsManager, SpaceSettingsManager spaceSettingsManager, LegacyPluginSettingsManager pluginSettingsManager, GlobalDescriptionManager globalDescriptionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlobalDescription
getGlobalDescription()
Settings
getGlobalSettings()
Serializable
getPluginSettings(String pluginKey)
SpaceSettings
getSpaceSettings(String spaceKey)
void
updateGlobalDescription(GlobalDescription globalDescription)
void
updateGlobalSettings(Settings settings)
void
updatePluginSettings(String pluginKey, Serializable pluginSettings)
void
updateSpaceSettings(SpaceSettings spaceSettings)
-
-
-
Constructor Detail
-
DelegatingLegacySettingsManager
public DelegatingLegacySettingsManager(GlobalSettingsManager globalSettingsManager, SpaceSettingsManager spaceSettingsManager, LegacyPluginSettingsManager pluginSettingsManager, GlobalDescriptionManager globalDescriptionManager)
-
-
Method Detail
-
getSpaceSettings
public SpaceSettings getSpaceSettings(String spaceKey)
- Specified by:
getSpaceSettings
in interfaceSettingsManager
- Specified by:
getSpaceSettings
in interfaceSpaceSettingsManager
-
updateSpaceSettings
public void updateSpaceSettings(SpaceSettings spaceSettings)
- Specified by:
updateSpaceSettings
in interfaceSettingsManager
- Specified by:
updateSpaceSettings
in interfaceSpaceSettingsManager
-
getPluginSettings
public Serializable getPluginSettings(String pluginKey)
- Specified by:
getPluginSettings
in interfaceLegacyPluginSettingsManager
- Specified by:
getPluginSettings
in interfaceSettingsManager
-
updatePluginSettings
public void updatePluginSettings(String pluginKey, Serializable pluginSettings)
- Specified by:
updatePluginSettings
in interfaceLegacyPluginSettingsManager
- Specified by:
updatePluginSettings
in interfaceSettingsManager
-
getGlobalSettings
public Settings getGlobalSettings()
- Specified by:
getGlobalSettings
in interfaceGlobalSettingsManager
- Specified by:
getGlobalSettings
in interfaceSettingsManager
-
updateGlobalSettings
public void updateGlobalSettings(Settings settings)
- Specified by:
updateGlobalSettings
in interfaceGlobalSettingsManager
- Specified by:
updateGlobalSettings
in interfaceSettingsManager
-
getGlobalDescription
public GlobalDescription getGlobalDescription()
- Specified by:
getGlobalDescription
in interfaceGlobalDescriptionManager
- Specified by:
getGlobalDescription
in interfaceSettingsManager
-
updateGlobalDescription
public void updateGlobalDescription(GlobalDescription globalDescription)
- Specified by:
updateGlobalDescription
in interfaceGlobalDescriptionManager
- Specified by:
updateGlobalDescription
in interfaceSettingsManager
-
-