Class CommerceChannelServiceWrapper
java.lang.Object
com.liferay.commerce.product.service.CommerceChannelServiceWrapper
- All Implemented Interfaces:
CommerceChannelService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelService>
public class CommerceChannelServiceWrapper
extends Object
implements CommerceChannelService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelService>
Provides a wrapper for
CommerceChannelService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceChannelServiceWrapper
(CommerceChannelService commerceChannelService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceChannel
(String externalReferenceCode, long accountEntryId, long siteGroupId, String name, String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, String commerceCurrencyCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCommerceChannel
(String externalReferenceCode, long accountEntryId, long siteGroupId, String name, String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, String commerceCurrencyCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) deleteCommerceChannel
(long commerceChannelId) fetchCommerceChannel
(long commerceChannelId) fetchCommerceChannelByExternalReferenceCode
(String externalReferenceCode, long companyId) getCommerceChannel
(long commerceChannelId) getCommerceChannelByOrderGroupId
(long groupId) getCommerceChannels
(long companyId) getEligibleCommerceChannels
(long accountEntryId, String name, int start, int end) Returns the OSGi service identifier.search
(long companyId) search
(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) int
searchCommerceChannelsCount
(long companyId, String keywords) void
setWrappedService
(CommerceChannelService commerceChannelService) updateCommerceChannel
(long commerceChannelId, long accountEntryId, long siteGroupId, String name, String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, String commerceCurrencyCode, String priceDisplayType, boolean discountsTargetNetPrice) updateCommerceChannelExternalReferenceCode
(String externalReferenceCode, long commerceChannelId)
-
Constructor Details
-
CommerceChannelServiceWrapper
public CommerceChannelServiceWrapper() -
CommerceChannelServiceWrapper
-
-
Method Details
-
addCommerceChannel
public CommerceChannel addCommerceChannel(String externalReferenceCode, long accountEntryId, long siteGroupId, String name, String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, String commerceCurrencyCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceChannel
in interfaceCommerceChannelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceChannel
public CommerceChannel addOrUpdateCommerceChannel(String externalReferenceCode, long accountEntryId, long siteGroupId, String name, String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, String commerceCurrencyCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addOrUpdateCommerceChannel
in interfaceCommerceChannelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceChannel
public CommerceChannel deleteCommerceChannel(long commerceChannelId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceChannel
in interfaceCommerceChannelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceChannel
public CommerceChannel fetchCommerceChannel(long commerceChannelId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceChannel
in interfaceCommerceChannelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceChannelByExternalReferenceCode
public CommerceChannel fetchCommerceChannelByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceChannelByExternalReferenceCode
in interfaceCommerceChannelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceChannel
public CommerceChannel getCommerceChannel(long commerceChannelId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceChannel
in interfaceCommerceChannelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceChannelByOrderGroupId
public CommerceChannel getCommerceChannelByOrderGroupId(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceChannelByOrderGroupId
in interfaceCommerceChannelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceChannels
public List<CommerceChannel> getCommerceChannels(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceChannels
in interfaceCommerceChannelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getEligibleCommerceChannels
public List<CommerceChannel> getEligibleCommerceChannels(long accountEntryId, String name, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getEligibleCommerceChannels
in interfaceCommerceChannelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCommerceChannelService
- Returns:
- the OSGi service identifier
-
search
public List<CommerceChannel> search(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
search
in interfaceCommerceChannelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
search
public List<CommerceChannel> search(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
search
in interfaceCommerceChannelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceChannelsCount
public int searchCommerceChannelsCount(long companyId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCommerceChannelsCount
in interfaceCommerceChannelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceChannel
public CommerceChannel updateCommerceChannel(long commerceChannelId, long accountEntryId, long siteGroupId, String name, String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, String commerceCurrencyCode, String priceDisplayType, boolean discountsTargetNetPrice) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceChannel
in interfaceCommerceChannelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceChannelExternalReferenceCode
public CommerceChannel updateCommerceChannelExternalReferenceCode(String externalReferenceCode, long commerceChannelId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceChannelExternalReferenceCode
in interfaceCommerceChannelService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelService>
-