org.broadleafcommerce.common.locale.service
Class LocaleServiceImpl
java.lang.Object
org.broadleafcommerce.common.locale.service.LocaleServiceImpl
- All Implemented Interfaces:
- LocaleService
@Service(value="blLocaleService")
public class LocaleServiceImpl
- extends Object
- implements LocaleService
Created by bpolster.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
localeDao
protected LocaleDao localeDao
LocaleServiceImpl
public LocaleServiceImpl()
findLocaleByCode
public Locale findLocaleByCode(String localeCode)
- Specified by:
findLocaleByCode in interface LocaleService
- Returns:
- The locale for the passed in code
findDefaultLocale
public Locale findDefaultLocale()
- Returns the page template with the passed in id.
- Specified by:
findDefaultLocale in interface LocaleService
- Parameters:
id - - the id of the page template
- Returns:
- The default locale
findAllLocales
public List<Locale> findAllLocales()
- Returns list of supported locales.
- Specified by:
findAllLocales in interface LocaleService
- Returns:
- The default locale
Copyright © 2012. All Rights Reserved.