Class DefaultODataLocalizationService
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.persistence.DefaultODataLocalizationService
-
- All Implemented Interfaces:
ODataLocalizationService
@Deprecated(since="1905.11-CEP", forRemoval=true) public class DefaultODataLocalizationService extends java.lang.Object implements ODataLocalizationServiceDeprecated, for removal: This API element is subject to removal in a future version.useDefaultIntegrationLocalizationServiceDefault implementation of theODataLocalizationService
-
-
Constructor Summary
Constructors Constructor Description DefaultODataLocalizationService()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.LocalegetCommerceSuiteLocale()Deprecated, for removal: This API element is subject to removal in a future version.Gets the locale of the Commerce Suiteprotected CommonI18NServicegetCommonI18NService()Deprecated, for removal: This API element is subject to removal in a future version.java.util.LocalegetLocaleForLanguage(java.lang.String isoCode)Deprecated, for removal: This API element is subject to removal in a future version.Looks up a locale supported by the Commerce Suite by the standard ISO code, i.e "en"protected IntegrationLocalizationServicegetLocalizationService()Deprecated, for removal: This API element is subject to removal in a future version.java.util.Locale[]getSupportedLocales()Deprecated, for removal: This API element is subject to removal in a future version.Looks up a all locales supported by this Commerce Suite installation.voidsetCommonI18NService(CommonI18NService commonI18NService)Deprecated, for removal: This API element is subject to removal in a future version.voidsetLocalizationService(IntegrationLocalizationService service)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
getLocaleForLanguage
public java.util.Locale getLocaleForLanguage(java.lang.String isoCode)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ODataLocalizationServiceLooks up a locale supported by the Commerce Suite by the standard ISO code, i.e "en"- Specified by:
getLocaleForLanguagein interfaceODataLocalizationService- Parameters:
isoCode- The isoCode used to search for an existing LanguageModel- Returns:
- The locale
-
getSupportedLocales
public java.util.Locale[] getSupportedLocales()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ODataLocalizationServiceLooks up a all locales supported by this Commerce Suite installation.- Specified by:
getSupportedLocalesin interfaceODataLocalizationService- Returns:
- an array of locales. May return empty if no locales are supported. Will never return null.
-
getCommerceSuiteLocale
public java.util.Locale getCommerceSuiteLocale()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ODataLocalizationServiceGets the locale of the Commerce Suite- Specified by:
getCommerceSuiteLocalein interfaceODataLocalizationService- Returns:
- The locale
-
getLocalizationService
protected IntegrationLocalizationService getLocalizationService()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setLocalizationService
public void setLocalizationService(IntegrationLocalizationService service)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getCommonI18NService
@Deprecated(since="1905.08-CEP", forRemoval=true) protected CommonI18NService getCommonI18NService()Deprecated, for removal: This API element is subject to removal in a future version.Retrieves injectedCommonI18NServiceimplementation- Returns:
- the injected service
-
setCommonI18NService
@Deprecated(since="1905.08-CEP", forRemoval=true) public void setCommonI18NService(CommonI18NService commonI18NService)Deprecated, for removal: This API element is subject to removal in a future version.InjectsCommonI18NServiceto use.- Parameters:
commonI18NService- a service implementation to inject
-
-