Class CommerceCurrencyServiceWrapper
java.lang.Object
com.liferay.commerce.currency.service.CommerceCurrencyServiceWrapper
- All Implemented Interfaces:
CommerceCurrencyService,com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.ServiceWrapper<CommerceCurrencyService>
public class CommerceCurrencyServiceWrapper
extends Object
implements CommerceCurrencyService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceCurrencyService>
Provides a wrapper for
CommerceCurrencyService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceCurrencyServiceWrapper(CommerceCurrencyService commerceCurrencyService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceCurrency(String externalReferenceCode, String code, Map<Locale, String> nameMap, String symbol, BigDecimal rate, Map<Locale, String> formatPatternMap, int maxFractionDigits, int minFractionDigits, String roundingMode, boolean primary, double priority, boolean active) voiddeleteCommerceCurrency(long commerceCurrencyId) fetchCommerceCurrencyByExternalReferenceCode(String externalReferenceCode, long companyId) fetchPrimaryCommerceCurrency(long companyId) getCommerceCurrencies(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCurrency> orderByComparator) getCommerceCurrencies(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCurrency> orderByComparator) intgetCommerceCurrenciesCount(long companyId) intgetCommerceCurrenciesCount(long companyId, boolean active) getCommerceCurrency(long commerceCurrencyId) getCommerceCurrency(long companyId, String code) Returns the OSGi service identifier.com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceCurrency>searchCommerceCurrencies(long companyId, String keywords, LinkedHashMap<String, Object> params, int start, int end, com.liferay.portal.kernel.search.Sort sort) setActive(long commerceCurrencyId, boolean active) setPrimary(long commerceCurrencyId, boolean primary) voidsetWrappedService(CommerceCurrencyService commerceCurrencyService) updateCommerceCurrency(String externalReferenceCode, long commerceCurrencyId, Map<Locale, String> nameMap, String symbol, BigDecimal rate, Map<Locale, String> formatPatternMap, int maxFractionDigits, int minFractionDigits, String roundingMode, boolean primary, double priority, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidupdateExchangeRate(long commerceCurrencyId, String exchangeRateProviderKey) void
-
Constructor Details
-
CommerceCurrencyServiceWrapper
public CommerceCurrencyServiceWrapper() -
CommerceCurrencyServiceWrapper
-
-
Method Details
-
addCommerceCurrency
public CommerceCurrency addCommerceCurrency(String externalReferenceCode, String code, Map<Locale, String> nameMap, String symbol, BigDecimal rate, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> formatPatternMap, int maxFractionDigits, int minFractionDigits, String roundingMode, boolean primary, double priority, boolean active) - Specified by:
addCommerceCurrencyin interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceCurrency
public void deleteCommerceCurrency(long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceCurrencyin interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceCurrencyByExternalReferenceCode
public CommerceCurrency fetchCommerceCurrencyByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceCurrencyByExternalReferenceCodein interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchPrimaryCommerceCurrency
public CommerceCurrency fetchPrimaryCommerceCurrency(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchPrimaryCommerceCurrencyin interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCurrencies
public List<CommerceCurrency> getCommerceCurrencies(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCurrency> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceCurrenciesin interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCurrencies
public List<CommerceCurrency> getCommerceCurrencies(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCurrency> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceCurrenciesin interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCurrenciesCount
public int getCommerceCurrenciesCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceCurrenciesCountin interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCurrenciesCount
public int getCommerceCurrenciesCount(long companyId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceCurrenciesCountin interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCurrency
public CommerceCurrency getCommerceCurrency(long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceCurrencyin interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCurrency
public CommerceCurrency getCommerceCurrency(long companyId, String code) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceCurrencyin interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceCommerceCurrencyService- Returns:
- the OSGi service identifier
-
searchCommerceCurrencies
public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceCurrency> searchCommerceCurrencies(long companyId, String keywords, LinkedHashMap<String, Object> params, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
searchCommerceCurrenciesin interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
setActive
public CommerceCurrency setActive(long commerceCurrencyId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
setActivein interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
setPrimary
public CommerceCurrency setPrimary(long commerceCurrencyId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
setPrimaryin interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceCurrency
public CommerceCurrency updateCommerceCurrency(String externalReferenceCode, long commerceCurrencyId, Map<Locale, String> nameMap, String symbol, BigDecimal rate, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> formatPatternMap, int maxFractionDigits, int minFractionDigits, String roundingMode, boolean primary, double priority, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
updateCommerceCurrencyin interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExchangeRate
public void updateExchangeRate(long commerceCurrencyId, String exchangeRateProviderKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExchangeRatein interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExchangeRates
public void updateExchangeRates() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
updateExchangeRatesin interfaceCommerceCurrencyService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceCurrencyService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceCurrencyService>
-