public class CommerceCurrencyServiceWrapper extends java.lang.Object implements CommerceCurrencyService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceCurrencyService>
CommerceCurrencyService
.CommerceCurrencyService
Constructor and Description |
---|
CommerceCurrencyServiceWrapper() |
CommerceCurrencyServiceWrapper(CommerceCurrencyService commerceCurrencyService) |
Modifier and Type | Method and Description |
---|---|
CommerceCurrency |
addCommerceCurrency(java.lang.String code,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String symbol,
java.math.BigDecimal rate,
java.util.Map<java.util.Locale,java.lang.String> formatPatternMap,
int maxFractionDigits,
int minFractionDigits,
java.lang.String roundingMode,
boolean primary,
double priority,
boolean active) |
void |
deleteCommerceCurrency(long commerceCurrencyId) |
CommerceCurrency |
fetchPrimaryCommerceCurrency(long companyId) |
java.util.List<CommerceCurrency> |
getCommerceCurrencies(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCurrency> orderByComparator) |
java.util.List<CommerceCurrency> |
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) |
CommerceCurrency |
getCommerceCurrency(long commerceCurrencyId) |
CommerceCurrency |
getCommerceCurrency(long companyId,
java.lang.String code) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommerceCurrencyService |
getWrappedService() |
CommerceCurrency |
setActive(long commerceCurrencyId,
boolean active) |
CommerceCurrency |
setPrimary(long commerceCurrencyId,
boolean primary) |
void |
setWrappedService(CommerceCurrencyService commerceCurrencyService) |
CommerceCurrency |
updateCommerceCurrency(long commerceCurrencyId,
java.lang.String code,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String symbol,
java.math.BigDecimal rate,
java.util.Map<java.util.Locale,java.lang.String> formatPatternMap,
int maxFractionDigits,
int minFractionDigits,
java.lang.String roundingMode,
boolean primary,
double priority,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
updateExchangeRate(long commerceCurrencyId,
java.lang.String exchangeRateProviderKey) |
void |
updateExchangeRates() |
public CommerceCurrencyServiceWrapper()
public CommerceCurrencyServiceWrapper(CommerceCurrencyService commerceCurrencyService)
public CommerceCurrency addCommerceCurrency(java.lang.String code, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String symbol, java.math.BigDecimal rate, java.util.Map<java.util.Locale,java.lang.String> formatPatternMap, int maxFractionDigits, int minFractionDigits, java.lang.String roundingMode, boolean primary, double priority, boolean active) throws com.liferay.portal.kernel.exception.PortalException
addCommerceCurrency
in interface CommerceCurrencyService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommerceCurrency(long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceCurrency
in interface CommerceCurrencyService
com.liferay.portal.kernel.exception.PortalException
public CommerceCurrency fetchPrimaryCommerceCurrency(long companyId) throws com.liferay.portal.kernel.exception.PortalException
fetchPrimaryCommerceCurrency
in interface CommerceCurrencyService
com.liferay.portal.kernel.exception.PortalException
public java.util.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
getCommerceCurrencies
in interface CommerceCurrencyService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommerceCurrency> getCommerceCurrencies(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCurrency> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
getCommerceCurrencies
in interface CommerceCurrencyService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceCurrenciesCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceCurrenciesCount
in interface CommerceCurrencyService
com.liferay.portal.kernel.exception.PortalException
public int getCommerceCurrenciesCount(long companyId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
getCommerceCurrenciesCount
in interface CommerceCurrencyService
com.liferay.portal.kernel.exception.PortalException
public CommerceCurrency getCommerceCurrency(long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceCurrency
in interface CommerceCurrencyService
com.liferay.portal.kernel.exception.PortalException
public CommerceCurrency getCommerceCurrency(long companyId, java.lang.String code) throws com.liferay.portal.kernel.exception.PortalException
getCommerceCurrency
in interface CommerceCurrencyService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommerceCurrencyService
public CommerceCurrency setActive(long commerceCurrencyId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
setActive
in interface CommerceCurrencyService
com.liferay.portal.kernel.exception.PortalException
public CommerceCurrency setPrimary(long commerceCurrencyId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException
setPrimary
in interface CommerceCurrencyService
com.liferay.portal.kernel.exception.PortalException
public CommerceCurrency updateCommerceCurrency(long commerceCurrencyId, java.lang.String code, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String symbol, java.math.BigDecimal rate, java.util.Map<java.util.Locale,java.lang.String> formatPatternMap, int maxFractionDigits, int minFractionDigits, java.lang.String roundingMode, boolean primary, double priority, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceCurrency
in interface CommerceCurrencyService
com.liferay.portal.kernel.exception.PortalException
public void updateExchangeRate(long commerceCurrencyId, java.lang.String exchangeRateProviderKey) throws com.liferay.portal.kernel.exception.PortalException
updateExchangeRate
in interface CommerceCurrencyService
com.liferay.portal.kernel.exception.PortalException
public void updateExchangeRates() throws com.liferay.portal.kernel.exception.PortalException
updateExchangeRates
in interface CommerceCurrencyService
com.liferay.portal.kernel.exception.PortalException
public CommerceCurrencyService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceCurrencyService>
public void setWrappedService(CommerceCurrencyService commerceCurrencyService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceCurrencyService>