Class LocaleConfigServiceImpl
java.lang.Object
org.exoplatform.services.resources.impl.LocaleConfigServiceImpl
- All Implemented Interfaces:
org.exoplatform.services.resources.LocaleConfigService
public class LocaleConfigServiceImpl
extends Object
implements org.exoplatform.services.resources.LocaleConfigService
- Author:
- Benjamin Mestrallet benjamin.mestrallet@exoplatform.com This Service is used to manage the locales that the applications can handle
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLocaleConfigServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.services.listener.ListenerService listenerService, org.exoplatform.container.configuration.ConfigurationManager cmanager, org.exoplatform.container.xml.InitParams params) -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.services.resources.LocaleConfigCollection<org.exoplatform.services.resources.LocaleConfig> org.exoplatform.services.resources.LocaleConfiggetLocaleConfig(String lang) protected voidvoidsaveDefaultLocaleConfig(String locale)
-
Field Details
-
LOCALE_DEFAULT_MODIFIED_EVENT
- See Also:
-
-
Constructor Details
-
LocaleConfigServiceImpl
public LocaleConfigServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.services.listener.ListenerService listenerService, org.exoplatform.container.configuration.ConfigurationManager cmanager, org.exoplatform.container.xml.InitParams params) throws Exception - Throws:
Exception
-
-
Method Details
-
getDefaultLocaleConfig
public org.exoplatform.services.resources.LocaleConfig getDefaultLocaleConfig()- Specified by:
getDefaultLocaleConfigin interfaceorg.exoplatform.services.resources.LocaleConfigService
-
saveDefaultLocaleConfig
- Specified by:
saveDefaultLocaleConfigin interfaceorg.exoplatform.services.resources.LocaleConfigService
-
getLocaleConfig
- Specified by:
getLocaleConfigin interfaceorg.exoplatform.services.resources.LocaleConfigService
-
getLocalConfigs
- Specified by:
getLocalConfigsin interfaceorg.exoplatform.services.resources.LocaleConfigService
-
parseConfiguration
- Throws:
Exception
-