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) void
deleteCommerceCurrency
(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) int
getCommerceCurrenciesCount
(long companyId) int
getCommerceCurrenciesCount
(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) void
setWrappedService
(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) void
updateExchangeRate
(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:
addCommerceCurrency
in interfaceCommerceCurrencyService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceCurrency
public void deleteCommerceCurrency(long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceCurrency
in 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:
fetchCommerceCurrencyByExternalReferenceCode
in interfaceCommerceCurrencyService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchPrimaryCommerceCurrency
public CommerceCurrency fetchPrimaryCommerceCurrency(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchPrimaryCommerceCurrency
in 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:
getCommerceCurrencies
in 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:
getCommerceCurrencies
in interfaceCommerceCurrencyService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCurrenciesCount
public int getCommerceCurrenciesCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceCurrenciesCount
in 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:
getCommerceCurrenciesCount
in interfaceCommerceCurrencyService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCurrency
public CommerceCurrency getCommerceCurrency(long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceCurrency
in 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:
getCommerceCurrency
in interfaceCommerceCurrencyService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in 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:
searchCommerceCurrencies
in 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:
setActive
in 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:
setPrimary
in 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:
updateCommerceCurrency
in 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:
updateExchangeRate
in interfaceCommerceCurrencyService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExchangeRates
public void updateExchangeRates() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
updateExchangeRates
in interfaceCommerceCurrencyService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceCurrencyService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceCurrencyService>
-