@ProviderType
public class CommerceAddressRestrictionServiceUtil
extends java.lang.Object
com.liferay.commerce.service.impl.CommerceAddressRestrictionServiceImpl and is the
primary 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.CommerceAddressRestrictionService,
com.liferay.commerce.service.base.CommerceAddressRestrictionServiceBaseImpl,
com.liferay.commerce.service.impl.CommerceAddressRestrictionServiceImpl| Constructor and Description |
|---|
CommerceAddressRestrictionServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static CommerceAddressRestriction |
addCommerceAddressRestriction(java.lang.String className,
long classPK,
long commerceCountryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCommerceAddressRestriction(long commerceAddressRestrictionId) |
static java.util.List<CommerceAddressRestriction> |
getCommerceAddressRestrictions(java.lang.String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddressRestriction> orderByComparator) |
static int |
getCommerceAddressRestrictionsCount(java.lang.String className,
long classPK) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceAddressRestrictionService |
getService() |
static boolean |
isCommerceShippingMethodRestricted(long commerceShippingMethodId,
long commerceCountryId) |
public CommerceAddressRestrictionServiceUtil()
public static CommerceAddressRestriction addCommerceAddressRestriction(java.lang.String className, long classPK, long commerceCountryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteCommerceAddressRestriction(long commerceAddressRestrictionId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CommerceAddressRestriction> getCommerceAddressRestrictions(java.lang.String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddressRestriction> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCommerceAddressRestrictionsCount(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static boolean isCommerceShippingMethodRestricted(long commerceShippingMethodId,
long commerceCountryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceAddressRestrictionService getService()