org.broadleafcommerce.common.locale.dao
Class LocaleDaoImpl
java.lang.Object
org.broadleafcommerce.common.locale.dao.LocaleDaoImpl
- All Implemented Interfaces:
- LocaleDao
@Repository(value="blLocaleDao")
public class LocaleDaoImpl
- extends Object
- implements LocaleDao
Created by bpolster.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
em
protected javax.persistence.EntityManager em
entityConfiguration
protected EntityConfiguration entityConfiguration
LocaleDaoImpl
public LocaleDaoImpl()
findLocaleByCode
public Locale findLocaleByCode(String localeCode)
- Specified by:
findLocaleByCode in interface LocaleDao
- 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 LocaleDao
- Returns:
- The default locale
findAllLocales
public List<Locale> findAllLocales()
- Returns all supported BLC locales.
- Specified by:
findAllLocales in interface LocaleDao
- Returns:
Copyright © 2012. All Rights Reserved.