Class LocaleRepositoryImpl
- java.lang.Object
-
- de.digitalcollections.cudami.server.backend.inmemory.LocaleRepositoryImpl
-
- All Implemented Interfaces:
LocaleRepository
@Repository public class LocaleRepositoryImpl extends Object implements LocaleRepository
-
-
Constructor Summary
Constructors Constructor Description LocaleRepositoryImpl(CudamiConfig cudamiConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>findAllLanguages()List<Locale>findAllLocales()StringgetDefaultLanguage()LocalegetDefaultLocale()
-
-
-
Constructor Detail
-
LocaleRepositoryImpl
public LocaleRepositoryImpl(CudamiConfig cudamiConfig)
-
-
Method Detail
-
findAllLanguages
public List<String> findAllLanguages()
- Specified by:
findAllLanguagesin interfaceLocaleRepository
-
findAllLocales
public List<Locale> findAllLocales()
- Specified by:
findAllLocalesin interfaceLocaleRepository
-
getDefaultLanguage
public String getDefaultLanguage()
- Specified by:
getDefaultLanguagein interfaceLocaleRepository
-
getDefaultLocale
public Locale getDefaultLocale()
- Specified by:
getDefaultLocalein interfaceLocaleRepository
-
-