Class LocaleServiceImpl
- java.lang.Object
-
- de.digitalcollections.cudami.server.business.impl.service.LocaleServiceImpl
-
- All Implemented Interfaces:
LocaleService
@Service public class LocaleServiceImpl extends Object implements LocaleService
Service for Locale handling.
-
-
Constructor Summary
Constructors Constructor Description LocaleServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultLanguage()LocalegetDefaultLocale()List<String>getSupportedLanguages()List<Locale>getSupportedLocales()
-
-
-
Method Detail
-
getDefaultLanguage
public String getDefaultLanguage()
- Specified by:
getDefaultLanguagein interfaceLocaleService- Returns:
- default language of content managed in cudami (ISO-2-code, e.g. "de", "en")
-
getDefaultLocale
public Locale getDefaultLocale()
- Specified by:
getDefaultLocalein interfaceLocaleService- Returns:
- default locale of content managed in cudami
-
getSupportedLanguages
public List<String> getSupportedLanguages()
- Specified by:
getSupportedLanguagesin interfaceLocaleService- Returns:
- list of all languages supported by cudami
-
getSupportedLocales
public List<Locale> getSupportedLocales()
- Specified by:
getSupportedLocalesin interfaceLocaleService- Returns:
- list of all locales supported by cudami
-
-