Class DefaultODataLocalizationService

    • Constructor Detail

      • DefaultODataLocalizationService

        public DefaultODataLocalizationService()
        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: ODataLocalizationService
        Looks up a locale supported by the Commerce Suite by the standard ISO code, i.e "en"
        Specified by:
        getLocaleForLanguage in interface ODataLocalizationService
        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: ODataLocalizationService
        Looks up a all locales supported by this Commerce Suite installation.
        Specified by:
        getSupportedLocales in interface ODataLocalizationService
        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: ODataLocalizationService
        Gets the locale of the Commerce Suite
        Specified by:
        getCommerceSuiteLocale in interface ODataLocalizationService
        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 injected CommonI18NService implementation
        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.
        Injects CommonI18NService to use.
        Parameters:
        commonI18NService - a service implementation to inject