Interface ODataLocalizationService
-
- All Known Implementing Classes:
DefaultODataLocalizationService
@Deprecated(since="1905.11-CEP", forRemoval=true) public interface ODataLocalizationServiceDeprecated, for removal: This API element is subject to removal in a future version.Defines functionality to handle localization
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.LocalegetCommerceSuiteLocale()Deprecated.java.util.LocalegetLocaleForLanguage(java.lang.String isoCode)java.util.Locale[]getSupportedLocales()Deprecated.
-
-
-
Method Detail
-
getLocaleForLanguage
java.util.Locale getLocaleForLanguage(java.lang.String isoCode)
Deprecated.Looks up a locale supported by the Commerce Suite by the standard ISO code, i.e "en"- Parameters:
isoCode- The isoCode used to search for an existing LanguageModel- Returns:
- The locale
-
getSupportedLocales
java.util.Locale[] getSupportedLocales()
Deprecated.Looks up a all locales supported by this Commerce Suite installation.- Returns:
- an array of locales. May return empty if no locales are supported. Will never return null.
-
getCommerceSuiteLocale
java.util.Locale getCommerceSuiteLocale()
Deprecated.Gets the locale of the Commerce Suite- Returns:
- The locale
-
-