@Service(value="blLocaleService") public class LocaleServiceImpl extends Object implements LocaleService
Constructor and Description |
---|
LocaleServiceImpl() |
Modifier and Type | Method and Description |
---|---|
List<Locale> |
findAllLocales()
Returns list of supported locales.
|
Locale |
findDefaultLocale()
Returns the page template with the passed in id.
|
Locale |
findLocaleByCode(String localeCode) |
Locale |
save(Locale locale) |
protected LocaleDao localeDao
public Locale findLocaleByCode(String localeCode)
findLocaleByCode
in interface LocaleService
public Locale findDefaultLocale()
findDefaultLocale
in interface LocaleService
id
- - the id of the page templatepublic List<Locale> findAllLocales()
findAllLocales
in interface LocaleService
public Locale save(Locale locale)
save
in interface LocaleService
Copyright © 2013. All rights reserved.