Class BroadleafCurrencyServiceImpl
java.lang.Object
org.broadleafcommerce.common.currency.service.BroadleafCurrencyServiceImpl
- All Implemented Interfaces:
BroadleafCurrencyService
@Service("blCurrencyService")
public class BroadleafCurrencyServiceImpl
extends Object
implements BroadleafCurrencyService
Author: jerryocanas
Date: 9/6/12
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()findCurrencyByCode(String currencyCode) Returns a Broadleaf currency found by a codeReturns the default Broadleaf currencyReturns a list of all the Broadleaf Currenciessave(BroadleafCurrency currency)
-
Field Details
-
currencyDao
-
-
Constructor Details
-
BroadleafCurrencyServiceImpl
public BroadleafCurrencyServiceImpl()
-
-
Method Details
-
findDefaultBroadleafCurrency
Returns the default Broadleaf currency- Specified by:
findDefaultBroadleafCurrencyin interfaceBroadleafCurrencyService- Returns:
- The default currency
-
findCurrencyByCode
Description copied from interface:BroadleafCurrencyServiceReturns a Broadleaf currency found by a code- Specified by:
findCurrencyByCodein interfaceBroadleafCurrencyService- Returns:
- The currency for the passed in code
-
getAllCurrencies
Returns a list of all the Broadleaf Currencies- Specified by:
getAllCurrenciesin interfaceBroadleafCurrencyService- Returns:
- List of currencies
-
save
- Specified by:
savein interfaceBroadleafCurrencyService
-
create
- Specified by:
createin interfaceBroadleafCurrencyService
-