Class CommercePriceModifierServiceUtil

java.lang.Object
com.liferay.commerce.pricing.service.CommercePriceModifierServiceUtil

public class CommercePriceModifierServiceUtil extends Object
Provides the remote service utility for CommercePriceModifier. This utility wraps com.liferay.commerce.pricing.service.impl.CommercePriceModifierServiceImpl 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

    • CommercePriceModifierServiceUtil

      public CommercePriceModifierServiceUtil()
  • Method Details

    • addCommercePriceModifier

      public static CommercePriceModifier addCommercePriceModifier(String externalReferenceCode, long groupId, long commercePriceListId, String title, String target, BigDecimal modifierAmount, String modifierType, double priority, boolean active, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCommercePriceModifier

      public static CommercePriceModifier addOrUpdateCommercePriceModifier(String externalReferenceCode, long commercePriceModifierId, long groupId, long commercePriceListId, String title, String target, BigDecimal modifierAmount, String modifierType, double priority, boolean active, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommercePriceModifier

      public static CommercePriceModifier deleteCommercePriceModifier(long commercePriceModifierId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePriceModifier

      public static CommercePriceModifier fetchCommercePriceModifier(long commercePriceModifierId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePriceModifierByExternalReferenceCode

      public static CommercePriceModifier fetchCommercePriceModifierByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceModifier

      public static CommercePriceModifier getCommercePriceModifier(long commercePriceModifierId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceModifiers

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

      public static int getCommercePriceModifiersCount(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
    • updateCommercePriceModifier

      public static CommercePriceModifier updateCommercePriceModifier(long commercePriceModifierId, long groupId, long commercePriceListId, String title, String target, BigDecimal modifierAmount, String modifierType, double priority, boolean active, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CommercePriceModifierService getService()