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
FieldsModifier and TypeFieldDescriptionprotected CustomerSegmentPricelistServiceprotected com.broadleafcommerce.pricelist.service.EnterprisePricingServiceExtensionManagerprotected static final org.apache.commons.logging.LogFields inherited from class org.broadleafcommerce.common.extension.AbstractExtensionHandler
enabled, priority -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.broadleafcommerce.common.extension.ExtensionResultStatusTypeaddAdditionalSalePriceLists(org.broadleafcommerce.profile.core.domain.Customer customer, List<com.broadleafcommerce.pricelist.domain.PriceList> salePriceLists, org.broadleafcommerce.common.currency.domain.BroadleafCurrency currency) protected voidaddApplicableCustomerSegmentPriceLists(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) voidinit()Methods inherited from class com.broadleafcommerce.pricelist.service.AbstractEnterprisePricingServiceExtensionHandler
addAdditionalContractPriceListsMethods inherited from class org.broadleafcommerce.common.extension.AbstractExtensionHandler
getPriority, isEnabled, setEnabled, setPriorityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
-
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:
addAdditionalSalePriceListsin interfacecom.broadleafcommerce.pricelist.service.EnterprisePricingServiceExtensionHandler- Overrides:
addAdditionalSalePriceListsin classcom.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)
-