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) intsearchCommerceChannelsCount(long companyId, String keywords) voidsetWrappedService(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:
addCommerceChannelin 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:
addOrUpdateCommerceChannelin interfaceCommerceChannelService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceChannel
public CommerceChannel deleteCommerceChannel(long commerceChannelId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceChannelin interfaceCommerceChannelService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceChannel
public CommerceChannel fetchCommerceChannel(long commerceChannelId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceChannelin 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:
fetchCommerceChannelByExternalReferenceCodein interfaceCommerceChannelService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceChannel
public CommerceChannel getCommerceChannel(long commerceChannelId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceChannelin interfaceCommerceChannelService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceChannelByOrderGroupId
public CommerceChannel getCommerceChannelByOrderGroupId(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceChannelByOrderGroupIdin interfaceCommerceChannelService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceChannels
public List<CommerceChannel> getCommerceChannels(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceChannelsin 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:
getEligibleCommerceChannelsin interfaceCommerceChannelService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceCommerceChannelService- Returns:
- the OSGi service identifier
-
search
public List<CommerceChannel> search(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchin 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:
searchin 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:
searchCommerceChannelsCountin 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:
updateCommerceChannelin 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:
updateCommerceChannelExternalReferenceCodein interfaceCommerceChannelService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelService>
-