Class CommerceDiscountAccountRelServiceUtil

java.lang.Object
com.liferay.commerce.discount.service.CommerceDiscountAccountRelServiceUtil

public class CommerceDiscountAccountRelServiceUtil extends Object
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 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

      public static int getCommerceDiscountAccountRelsCount(long commerceDiscountId, String name)
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getService

      public static CommerceDiscountAccountRelService getService()