Class CustomerSegmentPricingServiceExtensionHandler

java.lang.Object
org.broadleafcommerce.common.extension.AbstractExtensionHandler
com.broadleafcommerce.pricelist.service.AbstractEnterprisePricingServiceExtensionHandler
com.broadleafcommerce.customersegment.extension.CustomerSegmentPricingServiceExtensionHandler
All Implemented Interfaces:
com.broadleafcommerce.pricelist.service.EnterprisePricingServiceExtensionHandler, org.broadleafcommerce.common.extension.ExtensionHandler

@ConditionalOnBroadleafModule(PRICE_LIST) @Service("blCustomerSegmentPricingServiceExtensionHandler") public class CustomerSegmentPricingServiceExtensionHandler extends com.broadleafcommerce.pricelist.service.AbstractEnterprisePricingServiceExtensionHandler
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    protected com.broadleafcommerce.pricelist.service.EnterprisePricingServiceExtensionManager
     
    protected static final org.apache.commons.logging.Log
     

    Fields inherited from class org.broadleafcommerce.common.extension.AbstractExtensionHandler

    enabled, priority
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    addAdditionalSalePriceLists(org.broadleafcommerce.profile.core.domain.Customer customer, List<com.broadleafcommerce.pricelist.domain.PriceList> salePriceLists, org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency)
     
    protected void
    addApplicableCustomerSegmentPriceLists(org.broadleafcommerce.profile.core.domain.Customer customer, List<com.broadleafcommerce.pricelist.domain.PriceList> salePriceLists, org.broadleafcommerce.common.currency.domain.BroadleafCurrency targetCurrency, com.broadleafcommerce.pricelist.domain.PriceListType targetType)
     
    void
     

    Methods inherited from class com.broadleafcommerce.pricelist.service.AbstractEnterprisePricingServiceExtensionHandler

    addAdditionalContractPriceLists

    Methods inherited from class org.broadleafcommerce.common.extension.AbstractExtensionHandler

    getPriority, isEnabled, setEnabled, setPriority

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.broadleafcommerce.common.extension.ExtensionHandler

    getPriority, isEnabled
  • Field Details

    • LOG

      protected static final org.apache.commons.logging.Log LOG
    • extensionManager

      protected com.broadleafcommerce.pricelist.service.EnterprisePricingServiceExtensionManager extensionManager
    • customerSegmentPricelistService

      protected CustomerSegmentPricelistService customerSegmentPricelistService
  • Constructor Details

    • CustomerSegmentPricingServiceExtensionHandler

      public CustomerSegmentPricingServiceExtensionHandler()
  • Method Details

    • init

      @PostConstruct public void init()
    • addAdditionalSalePriceLists

      public org.broadleafcommerce.common.extension.ExtensionResultStatusType addAdditionalSalePriceLists(org.broadleafcommerce.profile.core.domain.Customer customer, List<com.broadleafcommerce.pricelist.domain.PriceList> salePriceLists, org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency)
      Specified by:
      addAdditionalSalePriceLists in interface com.broadleafcommerce.pricelist.service.EnterprisePricingServiceExtensionHandler
      Overrides:
      addAdditionalSalePriceLists in class com.broadleafcommerce.pricelist.service.AbstractEnterprisePricingServiceExtensionHandler
    • addApplicableCustomerSegmentPriceLists

      protected void addApplicableCustomerSegmentPriceLists(org.broadleafcommerce.profile.core.domain.Customer customer, List<com.broadleafcommerce.pricelist.domain.PriceList> salePriceLists, org.broadleafcommerce.common.currency.domain.BroadleafCurrency targetCurrency, com.broadleafcommerce.pricelist.domain.PriceListType targetType)