@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 LocaleServicepublic Locale findDefaultLocale()
findDefaultLocale in interface LocaleServiceid - - the id of the page templatepublic List<Locale> findAllLocales()
findAllLocales in interface LocaleServicepublic Locale save(Locale locale)
save in interface LocaleServiceCopyright © 2013. All rights reserved.