public class CommerceShippingMethodServiceUtil
extends java.lang.Object
com.liferay.commerce.service.impl.CommerceShippingMethodServiceImpl
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.CommerceShippingMethodService
Constructor and Description |
---|
CommerceShippingMethodServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CommerceAddressRestriction |
addCommerceAddressRestriction(long groupId,
long commerceShippingMethodId,
long countryId) |
static CommerceAddressRestriction |
addCommerceAddressRestriction(long commerceShippingMethodId,
long countryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Athanasius (7.3.x)
|
static CommerceShippingMethod |
addCommerceShippingMethod(long groupId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.io.File imageFile,
java.lang.String engineKey,
double priority,
boolean active) |
static CommerceShippingMethod |
createCommerceShippingMethod(long commerceShippingMethodId) |
static void |
deleteCommerceAddressRestriction(long commerceAddressRestrictionId) |
static void |
deleteCommerceAddressRestrictions(long commerceShippingMethodId) |
static void |
deleteCommerceShippingMethod(long commerceShippingMethodId) |
static CommerceShippingMethod |
fetchCommerceShippingMethod(long groupId,
java.lang.String engineKey) |
static java.util.List<CommerceAddressRestriction> |
getCommerceAddressRestrictions(long commerceShippingMethodId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddressRestriction> orderByComparator) |
static int |
getCommerceAddressRestrictionsCount(long commerceShippingMethodId) |
static CommerceShippingMethod |
getCommerceShippingMethod(long commerceShippingMethodId) |
static java.util.List<CommerceShippingMethod> |
getCommerceShippingMethods(long groupId) |
static java.util.List<CommerceShippingMethod> |
getCommerceShippingMethods(long groupId,
boolean active) |
static java.util.List<CommerceShippingMethod> |
getCommerceShippingMethods(long groupId,
long countryId,
boolean active) |
static int |
getCommerceShippingMethodsCount(long groupId,
boolean active) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceShippingMethodService |
getService() |
static CommerceShippingMethod |
setActive(long commerceShippingMethodId,
boolean active) |
static CommerceShippingMethod |
updateCommerceShippingMethod(long commerceShippingMethodId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.io.File imageFile,
double priority,
boolean active) |
public static CommerceAddressRestriction addCommerceAddressRestriction(long groupId, long commerceShippingMethodId, long countryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CommerceAddressRestriction addCommerceAddressRestriction(long commerceShippingMethodId, long countryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceShippingMethod addCommerceShippingMethod(long groupId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.io.File imageFile, java.lang.String engineKey, double priority, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceShippingMethod createCommerceShippingMethod(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCommerceAddressRestriction(long commerceAddressRestrictionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCommerceAddressRestrictions(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCommerceShippingMethod(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceShippingMethod fetchCommerceShippingMethod(long groupId, java.lang.String engineKey) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceAddressRestriction> getCommerceAddressRestrictions(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddressRestriction> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommerceAddressRestrictionsCount(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceShippingMethod getCommerceShippingMethod(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceShippingMethod> getCommerceShippingMethods(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceShippingMethod> getCommerceShippingMethods(long groupId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceShippingMethod> getCommerceShippingMethods(long groupId, long countryId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommerceShippingMethodsCount(long groupId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static CommerceShippingMethod setActive(long commerceShippingMethodId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceShippingMethod updateCommerceShippingMethod(long commerceShippingMethodId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.io.File imageFile, double priority, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceShippingMethodService getService()