Package com.liferay.commerce.service
Class CommerceShippingMethodServiceUtil
java.lang.Object
com.liferay.commerce.service.CommerceShippingMethodServiceUtil
Provides the remote service utility for CommerceShippingMethod. This utility wraps
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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommerceAddressRestrictionaddCommerceAddressRestriction(long groupId, long commerceShippingMethodId, long countryId) static CommerceAddressRestrictionaddCommerceAddressRestriction(long commerceShippingMethodId, long countryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.As of Athanasius (7.3.x)static CommerceShippingMethodaddCommerceShippingMethod(long groupId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, String engineKey, File imageFile, double priority, String trackingURL) static CommerceShippingMethodcreateCommerceShippingMethod(long commerceShippingMethodId) static voiddeleteCommerceAddressRestriction(long commerceAddressRestrictionId) static voiddeleteCommerceAddressRestrictions(long commerceShippingMethodId) static voiddeleteCommerceShippingMethod(long commerceShippingMethodId) static CommerceShippingMethodfetchCommerceShippingMethod(long groupId, String engineKey) static List<CommerceAddressRestriction>getCommerceAddressRestrictions(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddressRestriction> orderByComparator) static intgetCommerceAddressRestrictionsCount(long commerceShippingMethodId) static CommerceShippingMethodgetCommerceShippingMethod(long commerceShippingMethodId) static List<CommerceShippingMethod>getCommerceShippingMethods(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) static List<CommerceShippingMethod>getCommerceShippingMethods(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) static List<CommerceShippingMethod>getCommerceShippingMethods(long groupId, long countryId, boolean active) static intgetCommerceShippingMethodsCount(long groupId) static StringReturns the OSGi service identifier.static CommerceShippingMethodsetActive(long commerceShippingMethodId, boolean active) static CommerceShippingMethodupdateCommerceShippingMethod(long commerceShippingMethodId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, File imageFile, double priority, String trackingURL) static CommerceShippingMethodupdateCommerceShippingMethod(CommerceShippingMethod commerceShippingMethod)
-
Constructor Details
-
CommerceShippingMethodServiceUtil
public CommerceShippingMethodServiceUtil()
-
-
Method Details
-
addCommerceAddressRestriction
public static CommerceAddressRestriction addCommerceAddressRestriction(long groupId, long commerceShippingMethodId, long countryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceAddressRestriction
@Deprecated public static CommerceAddressRestriction addCommerceAddressRestriction(long commerceShippingMethodId, long countryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceShippingMethod
public static CommerceShippingMethod addCommerceShippingMethod(long groupId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, String engineKey, File imageFile, double priority, String trackingURL) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCommerceShippingMethod
public static CommerceShippingMethod createCommerceShippingMethod(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceAddressRestriction
public static void deleteCommerceAddressRestriction(long commerceAddressRestrictionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceAddressRestrictions
public static void deleteCommerceAddressRestrictions(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceShippingMethod
public static void deleteCommerceShippingMethod(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceShippingMethod
public static CommerceShippingMethod fetchCommerceShippingMethod(long groupId, String engineKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressRestrictions
public static List<CommerceAddressRestriction> getCommerceAddressRestrictions(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddressRestriction> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressRestrictionsCount
public static int getCommerceAddressRestrictionsCount(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShippingMethod
public static CommerceShippingMethod getCommerceShippingMethod(long commerceShippingMethodId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShippingMethods
public static List<CommerceShippingMethod> getCommerceShippingMethods(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShippingMethods
public static List<CommerceShippingMethod> getCommerceShippingMethods(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingMethod> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShippingMethods
public static List<CommerceShippingMethod> getCommerceShippingMethods(long groupId, long countryId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShippingMethodsCount
public static int getCommerceShippingMethodsCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
setActive
public static CommerceShippingMethod setActive(long commerceShippingMethodId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceShippingMethod
public static CommerceShippingMethod updateCommerceShippingMethod(CommerceShippingMethod commerceShippingMethod) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceShippingMethod
public static CommerceShippingMethod updateCommerceShippingMethod(long commerceShippingMethodId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, boolean active, File imageFile, double priority, String trackingURL) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-