|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.common.locale.dao.LocaleDaoImpl
@Repository(value="blLocaleDao") public class LocaleDaoImpl
Created by bpolster.
| Field Summary | |
|---|---|
protected javax.persistence.EntityManager |
em
|
protected EntityConfiguration |
entityConfiguration
|
| Constructor Summary | |
|---|---|
LocaleDaoImpl()
|
|
| Method Summary | |
|---|---|
java.util.List<Locale> |
findAllLocales()
Returns all supported BLC locales. |
Locale |
findDefaultLocale()
Returns the page template with the passed in id. |
Locale |
findLocaleByCode(java.lang.String localeCode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
| Constructor Detail |
|---|
public LocaleDaoImpl()
| Method Detail |
|---|
public Locale findLocaleByCode(java.lang.String localeCode)
findLocaleByCode in interface LocaleDaopublic Locale findDefaultLocale()
findDefaultLocale in interface LocaleDaopublic java.util.List<Locale> findAllLocales()
findAllLocales in interface LocaleDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||