Class LocaleServiceImpl
java.lang.Object
org.broadleafcommerce.common.locale.service.LocaleServiceImpl
- All Implemented Interfaces:
LocaleService
Created by bpolster.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
localeDao
-
-
Constructor Details
-
LocaleServiceImpl
public LocaleServiceImpl()
-
-
Method Details
-
findLocaleByCode
- Specified by:
findLocaleByCodein interfaceLocaleService- Returns:
- the locale for the passed in code
-
findDefaultLocale
- Specified by:
findDefaultLocalein interfaceLocaleService- Returns:
- the default locale
-
findAllLocales
- Specified by:
findAllLocalesin interfaceLocaleService- Returns:
- a list of all known locales
-
save
Description copied from interface:LocaleServicePersists the given locale- Specified by:
savein interfaceLocaleService- Returns:
- the persisted locale
-