Class CommerceDiscountRelServiceUtil

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

public class CommerceDiscountRelServiceUtil extends Object
Provides the remote service utility for CommerceDiscountRel. This utility wraps com.liferay.commerce.discount.service.impl.CommerceDiscountRelServiceImpl 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

    • CommerceDiscountRelServiceUtil

      public CommerceDiscountRelServiceUtil()
  • Method Details

    • addCommerceDiscountRel

      public static CommerceDiscountRel addCommerceDiscountRel(long commerceDiscountId, String className, long classPK, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceDiscountRel

      public static void deleteCommerceDiscountRel(long commerceDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommerceDiscountRel

      public static CommerceDiscountRel fetchCommerceDiscountRel(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoriesByCommerceDiscountId

      public static List<CommerceDiscountRel> getCategoriesByCommerceDiscountId(long commerceDiscountId, String name, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoriesByCommerceDiscountIdCount

      public static int getCategoriesByCommerceDiscountIdCount(long commerceDiscountId, String name) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getClassPKs

      public static long[] getClassPKs(long commerceDiscountId, String className) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceDiscountRel

      public static CommerceDiscountRel getCommerceDiscountRel(long commerceDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceDiscountRels

      public static List<CommerceDiscountRel> getCommerceDiscountRels(long commerceDiscountId, String className) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceDiscountRels

      public static List<CommerceDiscountRel> getCommerceDiscountRels(long commerceDiscountId, String className, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountRel> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceDiscountRelsCount

      public static int getCommerceDiscountRelsCount(long commerceDiscountId, String className) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePricingClassesByCommerceDiscountId

      public static List<CommerceDiscountRel> getCommercePricingClassesByCommerceDiscountId(long commerceDiscountId, String title, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePricingClassesByCommerceDiscountIdCount

      public static int getCommercePricingClassesByCommerceDiscountIdCount(long commerceDiscountId, String title) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionsByCommerceDiscountId

      public static List<CommerceDiscountRel> getCPDefinitionsByCommerceDiscountId(long commerceDiscountId, String name, String languageId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionsByCommerceDiscountIdCount

      public static int getCPDefinitionsByCommerceDiscountIdCount(long commerceDiscountId, String name, String languageId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPInstancesByCommerceDiscountId

      public static List<CommerceDiscountRel> getCPInstancesByCommerceDiscountId(long commerceDiscountId, String sku, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPInstancesByCommerceDiscountIdCount

      public static int getCPInstancesByCommerceDiscountIdCount(long commerceDiscountId, String sku) 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 CommerceDiscountRelService getService()