Class CommercePriceEntryServiceWrapper

java.lang.Object
com.liferay.commerce.price.list.service.CommercePriceEntryServiceWrapper
All Implemented Interfaces:
CommercePriceEntryService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryService>

public class CommercePriceEntryServiceWrapper extends Object implements CommercePriceEntryService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryService>
Provides a wrapper for CommercePriceEntryService.
See Also:
Generated:
  • Constructor Details

    • CommercePriceEntryServiceWrapper

      public CommercePriceEntryServiceWrapper()
    • CommercePriceEntryServiceWrapper

      public CommercePriceEntryServiceWrapper(CommercePriceEntryService commercePriceEntryService)
  • Method Details

    • addCommercePriceEntry

      public CommercePriceEntry addCommercePriceEntry(String externalReferenceCode, long cpInstanceId, long commercePriceListId, BigDecimal price, boolean priceOnApplication, BigDecimal promoPrice, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCommercePriceEntry in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommercePriceEntry

      public CommercePriceEntry addCommercePriceEntry(String externalReferenceCode, long cProductId, String cpInstanceUuid, long commercePriceListId, BigDecimal price, boolean discountDiscovery, BigDecimal discountLevel1, BigDecimal discountLevel2, BigDecimal discountLevel3, BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCommercePriceEntry in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCommercePriceEntry

      public CommercePriceEntry addOrUpdateCommercePriceEntry(String externalReferenceCode, long commercePriceEntryId, long cProductId, String cpInstanceUuid, long commercePriceListId, BigDecimal price, BigDecimal promoPrice, String skuExternalReferenceCode, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addOrUpdateCommercePriceEntry in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCommercePriceEntry

      public CommercePriceEntry addOrUpdateCommercePriceEntry(String externalReferenceCode, long commercePriceEntryId, long cProductId, String cpInstanceUuid, long commercePriceListId, boolean discountDiscovery, BigDecimal discountLevel1, BigDecimal discountLevel2, BigDecimal discountLevel3, BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, BigDecimal price, boolean priceOnApplication, String skuExternalReferenceCode, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addOrUpdateCommercePriceEntry in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommercePriceEntry

      public void deleteCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCommercePriceEntry in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePriceEntry

      public CommercePriceEntry fetchCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchCommercePriceEntry in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePriceEntryByExternalReferenceCode

      public CommercePriceEntry fetchCommercePriceEntryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchCommercePriceEntryByExternalReferenceCode in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceEntries

      public List<CommercePriceEntry> getCommercePriceEntries(long commercePriceListId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommercePriceEntries in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceEntries

      public List<CommercePriceEntry> getCommercePriceEntries(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommercePriceEntries in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceEntriesCount

      public int getCommercePriceEntriesCount(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommercePriceEntriesCount in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceEntry

      public CommercePriceEntry getCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommercePriceEntry in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getInstanceBaseCommercePriceEntry

      public CommercePriceEntry getInstanceBaseCommercePriceEntry(String cpInstanceUuid, String priceListType, String unitOfMeasureKey)
      Specified by:
      getInstanceBaseCommercePriceEntry in interface CommercePriceEntryService
    • getInstanceCommercePriceEntries

      public List<CommercePriceEntry> getInstanceCommercePriceEntries(long cpInstanceId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getInstanceCommercePriceEntries in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getInstanceCommercePriceEntriesCount

      public int getInstanceCommercePriceEntriesCount(long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getInstanceCommercePriceEntriesCount in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface CommercePriceEntryService
      Returns:
      the OSGi service identifier
    • searchCommercePriceEntries

      public com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePriceEntry> searchCommercePriceEntries(long companyId, long commercePriceListId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCommercePriceEntries in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCommercePriceEntriesCount

      public int searchCommercePriceEntriesCount(long companyId, long commercePriceListId, String keywords) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCommercePriceEntriesCount in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommercePriceEntry

      public CommercePriceEntry updateCommercePriceEntry(long commercePriceEntryId, boolean bulkPricing, boolean discountDiscovery, BigDecimal discountLevel1, BigDecimal discountLevel2, BigDecimal discountLevel3, BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, BigDecimal price, boolean priceOnApplication, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCommercePriceEntry in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateExternalReferenceCode

      public CommercePriceEntry updateExternalReferenceCode(String externalReferenceCode, CommercePriceEntry commercePriceEntry) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateExternalReferenceCode in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updatePricingInfo

      public CommercePriceEntry updatePricingInfo(long commercePriceEntryId, boolean bulkPricing, BigDecimal price, boolean priceOnApplication, BigDecimal promoPrice, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updatePricingInfo in interface CommercePriceEntryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWrappedService

      public CommercePriceEntryService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryService>
    • setWrappedService

      public void setWrappedService(CommercePriceEntryService commercePriceEntryService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryService>