Class LocaleServiceImpl

  • All Implemented Interfaces:
    LocaleService

    @Service
    public class LocaleServiceImpl
    extends java.lang.Object
    implements LocaleService
    Service for Locale handling.
    • Constructor Detail

      • LocaleServiceImpl

        public LocaleServiceImpl()
    • Method Detail

      • getDefaultLanguage

        public java.lang.String getDefaultLanguage()
        Specified by:
        getDefaultLanguage in interface LocaleService
        Returns:
        default language of content managed in cudami (ISO-2-code, e.g. "de", "en")
      • getDefaultLocale

        public java.util.Locale getDefaultLocale()
        Specified by:
        getDefaultLocale in interface LocaleService
        Returns:
        default locale of content managed in cudami
      • getSupportedLanguages

        public java.util.List<java.lang.String> getSupportedLanguages()
        Specified by:
        getSupportedLanguages in interface LocaleService
        Returns:
        list of all languages supported by cudami
      • getSupportedLocales

        public java.util.List<java.util.Locale> getSupportedLocales()
        Specified by:
        getSupportedLocales in interface LocaleService
        Returns:
        list of all locales supported by cudami