Class CommerceDiscountAccountRelServiceUtil
java.lang.Object
com.liferay.commerce.discount.service.CommerceDiscountAccountRelServiceUtil
Provides the remote service utility for CommerceDiscountAccountRel. This utility wraps
com.liferay.commerce.discount.service.impl.CommerceDiscountAccountRelServiceImpl
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 CommerceDiscountAccountRel
addCommerceDiscountAccountRel
(long commerceDiscountId, long commerceAccountId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static void
deleteCommerceDiscountAccountRel
(long commerceDiscountAccountRelId) static void
deleteCommerceDiscountAccountRelsByCommerceDiscountId
(long commerceDiscountId) static CommerceDiscountAccountRel
fetchCommerceDiscountAccountRel
(long commerceAccountId, long commerceDiscountId) static CommerceDiscountAccountRel
getCommerceDiscountAccountRel
(long commerceDiscountAccountRelId) static List<CommerceDiscountAccountRel>
getCommerceDiscountAccountRels
(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) static List<CommerceDiscountAccountRel>
getCommerceDiscountAccountRels
(long commerceDiscountId, String name, int start, int end) static int
getCommerceDiscountAccountRelsCount
(long commerceDiscountId) static int
getCommerceDiscountAccountRelsCount
(long commerceDiscountId, String name) static String
Returns the OSGi service identifier.
-
Constructor Details
-
CommerceDiscountAccountRelServiceUtil
public CommerceDiscountAccountRelServiceUtil()
-
-
Method Details
-
addCommerceDiscountAccountRel
public static CommerceDiscountAccountRel addCommerceDiscountAccountRel(long commerceDiscountId, long commerceAccountId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceDiscountAccountRel
public static void deleteCommerceDiscountAccountRel(long commerceDiscountAccountRelId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceDiscountAccountRelsByCommerceDiscountId
public static void deleteCommerceDiscountAccountRelsByCommerceDiscountId(long commerceDiscountId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceDiscountAccountRel
public static CommerceDiscountAccountRel fetchCommerceDiscountAccountRel(long commerceAccountId, long commerceDiscountId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountAccountRel
public static CommerceDiscountAccountRel getCommerceDiscountAccountRel(long commerceDiscountAccountRelId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountAccountRels
public static List<CommerceDiscountAccountRel> getCommerceDiscountAccountRels(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountAccountRels
public static List<CommerceDiscountAccountRel> getCommerceDiscountAccountRels(long commerceDiscountId, String name, int start, int end) -
getCommerceDiscountAccountRelsCount
public static int getCommerceDiscountAccountRelsCount(long commerceDiscountId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountAccountRelsCount
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getService
-