Interface CommercePriceModifierService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
CommercePriceModifierServiceWrapper

@AccessControlled @CTAware @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface CommercePriceModifierService extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CommercePriceModifier. 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:
  • Method Details

    • addCommercePriceModifier

      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

      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

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

      @Transactional(propagation=SUPPORTS, readOnly=true) CommercePriceModifier fetchCommercePriceModifier(long commercePriceModifierId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePriceModifierByExternalReferenceCode

      @Transactional(propagation=SUPPORTS, readOnly=true) CommercePriceModifier fetchCommercePriceModifierByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceModifier

      @Transactional(propagation=SUPPORTS, readOnly=true) CommercePriceModifier getCommercePriceModifier(long commercePriceModifierId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceModifiers

      @Transactional(propagation=SUPPORTS, readOnly=true) 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

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCommercePriceModifiersCount(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • updateCommercePriceModifier

      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