public class CommerceChannelServiceUtil
extends java.lang.Object
com.liferay.commerce.product.service.impl.CommerceChannelServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.CommerceChannelService
Constructor and Description |
---|
CommerceChannelServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CommerceChannel |
addCommerceChannel(java.lang.String externalReferenceCode,
long siteGroupId,
java.lang.String name,
java.lang.String type,
com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties,
java.lang.String commerceCurrencyCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceChannel |
addOrUpdateCommerceChannel(java.lang.String externalReferenceCode,
long siteGroupId,
java.lang.String name,
java.lang.String type,
com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties,
java.lang.String commerceCurrencyCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceChannel |
deleteCommerceChannel(long commerceChannelId) |
static CommerceChannel |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
static CommerceChannel |
fetchCommerceChannel(long commerceChannelId) |
static CommerceChannel |
getCommerceChannel(long commerceChannelId) |
static CommerceChannel |
getCommerceChannelByOrderGroupId(long groupId) |
static java.util.List<CommerceChannel> |
getCommerceChannels(long companyId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceChannelService |
getService() |
static java.util.List<CommerceChannel> |
search(long companyId) |
static java.util.List<CommerceChannel> |
search(long companyId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
static int |
searchCommerceChannelsCount(long companyId,
java.lang.String keywords) |
static void |
setService(CommerceChannelService service) |
static CommerceChannel |
updateCommerceChannel(long commerceChannelId,
long siteGroupId,
java.lang.String name,
java.lang.String type,
com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties,
java.lang.String commerceCurrencyCode) |
static CommerceChannel |
updateCommerceChannel(long commerceChannelId,
long siteGroupId,
java.lang.String name,
java.lang.String type,
com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties,
java.lang.String commerceCurrencyCode,
java.lang.String priceDisplayType,
boolean discountsTargetNetPrice) |
static CommerceChannel |
updateCommerceChannelExternalReferenceCode(java.lang.String externalReferenceCode,
long commerceChannelId) |
public static CommerceChannel addCommerceChannel(java.lang.String externalReferenceCode, long siteGroupId, java.lang.String name, java.lang.String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, java.lang.String commerceCurrencyCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceChannel addOrUpdateCommerceChannel(java.lang.String externalReferenceCode, long siteGroupId, java.lang.String name, java.lang.String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, java.lang.String commerceCurrencyCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceChannel deleteCommerceChannel(long commerceChannelId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceChannel fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceChannel fetchCommerceChannel(long commerceChannelId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceChannel getCommerceChannel(long commerceChannelId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceChannel getCommerceChannelByOrderGroupId(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceChannel> getCommerceChannels(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<CommerceChannel> search(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceChannel> search(long companyId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int searchCommerceChannelsCount(long companyId, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceChannel updateCommerceChannel(long commerceChannelId, long siteGroupId, java.lang.String name, java.lang.String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, java.lang.String commerceCurrencyCode) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceChannel updateCommerceChannel(long commerceChannelId, long siteGroupId, java.lang.String name, java.lang.String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, java.lang.String commerceCurrencyCode, java.lang.String priceDisplayType, boolean discountsTargetNetPrice) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceChannel updateCommerceChannelExternalReferenceCode(java.lang.String externalReferenceCode, long commerceChannelId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceChannelService getService()
public static void setService(CommerceChannelService service)