@ProviderType
public class CommerceShippingMethodServiceUtil
extends java.lang.Object
com.liferay.commerce.service.impl.CommerceShippingMethodServiceImpl 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.CommerceShippingMethodService,
com.liferay.commerce.service.base.CommerceShippingMethodServiceBaseImpl,
com.liferay.commerce.service.impl.CommerceShippingMethodServiceImpl| Constructor and Description |
|---|
CommerceShippingMethodServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static CommerceShippingMethod |
addCommerceShippingMethod(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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceShippingMethod |
createCommerceShippingMethod(long commerceShippingMethodId) |
static void |
deleteCommerceShippingMethod(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 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 CommerceShippingMethod addCommerceShippingMethod(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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceShippingMethod createCommerceShippingMethod(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteCommerceShippingMethod(long commerceShippingMethodId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceShippingMethod getCommerceShippingMethod(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CommerceShippingMethod> getCommerceShippingMethods(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CommerceShippingMethod> getCommerceShippingMethods(long groupId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCommerceShippingMethodsCount(long groupId,
boolean active)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic 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.PortalExceptionpublic 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.PortalExceptionpublic static CommerceShippingMethodService getService()