Class CommercePriceListDiscountRelServiceUtil

java.lang.Object
com.liferay.commerce.price.list.service.CommercePriceListDiscountRelServiceUtil

public class CommercePriceListDiscountRelServiceUtil extends Object
Provides the remote service utility for CommercePriceListDiscountRel. This utility wraps com.liferay.commerce.price.list.service.impl.CommercePriceListDiscountRelServiceImpl 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

    • CommercePriceListDiscountRelServiceUtil

      public CommercePriceListDiscountRelServiceUtil()
  • Method Details

    • addCommercePriceListDiscountRel

      public static CommercePriceListDiscountRel addCommercePriceListDiscountRel(long commercePriceListId, long commerceDiscountId, int order, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommercePriceListDiscountRel

      public static void deleteCommercePriceListDiscountRel(long commercePriceListDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePriceListDiscountRel

      public static CommercePriceListDiscountRel fetchCommercePriceListDiscountRel(long commercePriceListId, long commerceDiscountId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceListDiscountRel

      public static CommercePriceListDiscountRel getCommercePriceListDiscountRel(long commercePriceListDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceListDiscountRels

      public static List<CommercePriceListDiscountRel> getCommercePriceListDiscountRels(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceListDiscountRels

      public static List<CommercePriceListDiscountRel> getCommercePriceListDiscountRels(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceListDiscountRelsCount

      public static int getCommercePriceListDiscountRelsCount(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

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

      public static CommercePriceListDiscountRelService getService()