Class LocaleDaoImpl
java.lang.Object
org.broadleafcommerce.common.locale.dao.LocaleDaoImpl
- All Implemented Interfaces:
LocaleDao
Created by bpolster.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.persistence.EntityManager
protected EntityConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns all supported BLC locales.Returns the page template with the passed in id.findLocaleByCode
(String localeCode)
-
Field Details
-
em
protected jakarta.persistence.EntityManager em -
entityConfiguration
-
-
Constructor Details
-
LocaleDaoImpl
public LocaleDaoImpl()
-
-
Method Details
-
findLocaleByCode
- Specified by:
findLocaleByCode
in interfaceLocaleDao
- Returns:
- The locale for the passed in code
-
findDefaultLocale
Returns the page template with the passed in id.- Specified by:
findDefaultLocale
in interfaceLocaleDao
- Returns:
- The default locale
-
findAllLocales
Returns all supported BLC locales.- Specified by:
findAllLocales
in interfaceLocaleDao
- Returns:
-
save
-