Uses of Class
com.broadleafcommerce.pricing.domain.PriceList
Packages that use PriceList
Package
Description
-
Uses of PriceList in com.broadleafcommerce.pricing.dataimport
Methods in com.broadleafcommerce.pricing.dataimport that return types with arguments of type PriceListConstructor parameters in com.broadleafcommerce.pricing.dataimport with type arguments of type PriceListModifierConstructorDescriptionPriceDataImportBatchHandler
(PriceDataConverter priceDataConverter, PriceDataService<PriceData> priceDataService, PriceListService<PriceList> priceListService, com.broadleafcommerce.common.extension.TypeFactory pricingFactory, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator) -
Uses of PriceList in com.broadleafcommerce.pricing.dataimport.autoconfigure
Method parameters in com.broadleafcommerce.pricing.dataimport.autoconfigure with type arguments of type PriceListModifier and TypeMethodDescriptionPricingServicesImportAutoConfiguration.priceDataImportBatchHandler
(PriceDataConverter priceDataConverter, PriceDataService<PriceData> priceDataService, PriceListService<PriceList> priceListService, com.broadleafcommerce.common.extension.TypeFactory pricingFactory, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator) -
Uses of PriceList in com.broadleafcommerce.pricing.domain
Methods in com.broadleafcommerce.pricing.domain with parameters of type PriceList -
Uses of PriceList in com.broadleafcommerce.pricing.service
Classes in com.broadleafcommerce.pricing.service with type parameters of type PriceListModifier and TypeClassDescriptionclass
DefaultPriceListService<P extends PriceList>
interface
PriceListService<P extends PriceList>
Base service API forPriceList
s.Methods in com.broadleafcommerce.pricing.service with type parameters of type PriceListModifier and TypeMethodDescriptionDefaultPriceListFilterService.getCurrencyTargetingPriceLists
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, PriceListService<P> priceListService, List<javax.money.CurrencyUnit> currencies) DefaultPriceListFilterService.getFilteredPriceLists
(com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, PriceListService<P> priceListService) PriceListFilterService.getFilteredPriceLists
(com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, PriceListService<P> priceListService) Filters all price lists by type and combines the results into single listDefaultPriceListFilterService.getUserTargetingPriceLists
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, PriceListService<P> priceListService, List<javax.money.CurrencyUnit> currencies) DefaultPriceListFilterService.prioritizePriceLists
(List<P> priceLists) PriceListFilterService.prioritizePriceLists
(List<P> priceLists) Sorts the price lists by priority in ascending order, then returns all those with the highest priority.Methods in com.broadleafcommerce.pricing.service that return types with arguments of type PriceListModifier and TypeMethodDescriptionprotected PriceListService<PriceList>
DefaultPriceInfoService.getPriceListService()
DefaultPriceInfoService.prepareEligiblePriceLists
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext) Reads all priceLists that are in scope for the priceInfo request and splits them inDefaultPriceInfoService.splitPriceListsByType
(List<PriceList> priceLists) Methods in com.broadleafcommerce.pricing.service with parameters of type PriceListModifier and TypeMethodDescriptionprotected void
DefaultPriceInfoService.addPriceDetail
(com.broadleafcommerce.pricing.client.domain.PriceInfo priceInfo, PriceList priceList, PriceListPriceDetail listPriceDetail, Map<String, List<PriceDataTier>> priceTiers) protected void
DefaultPriceInfoService.addPriceDetail
(com.broadleafcommerce.pricing.client.domain.PriceInfo priceInfo, PriceList priceList, javax.money.MonetaryAmount price, Map<String, List<PriceDataTier>> priceTiers) Deprecated, for removal: This API element is subject to removal in a future version.com.broadleafcommerce.pricing.client.domain.PriceListRef
DefaultPriceListService.convertPriceListToPriceListRef
(PriceList priceList) com.broadleafcommerce.pricing.client.domain.PriceListRef
PriceListService.convertPriceListToPriceListRef
(PriceList priceList) Create a lightweight PriceListRef from a PriceList object.DefaultPriceDataService.create
(PriceList priceList, P businessInstance, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) PriceDataService.create
(PriceList priceList, P businessInstance, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
DefaultPriceDataService.delete
(PriceList priceList, String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
PriceDataService.delete
(PriceList priceList, String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) protected Optional<PriceListPriceDetail>
DefaultPriceInfoService.getPriceDetailFromListForTarget
(com.broadleafcommerce.pricing.client.domain.PriceableTarget target, PriceList priceList, PriceableTargetPriceState priceState, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Checks forPriceData
for thePriceableTarget
If none, checks forPriceModifier
s If none, works up thePriceList
hierarchy look for #1 or #2. If still none, checks for custom logic to get the price from somewhere else (DefaultPriceInfoService.getPriceFromElsewhere(PriceableTarget, PriceList, ContextInfo)
) If still none, returns thePriceableFieldProperties.getBasePrice()
(also seePriceableFieldType.BASE_PRICE
protected Optional<javax.money.MonetaryAmount>
DefaultPriceInfoService.getPriceFromElsewhere
(com.broadleafcommerce.pricing.client.domain.PriceableTarget target, PriceList priceList, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Extension point for getting price from somewhere other than a price data or modifier before defaulting to the base price on the target.protected Optional<javax.money.MonetaryAmount>
DefaultPriceInfoService.getPriceFromListForTarget
(com.broadleafcommerce.pricing.client.domain.PriceableTarget target, PriceList priceList, PriceableTargetPriceState priceState, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.protected Optional<javax.money.MonetaryAmount>
DefaultPriceInfoService.getPriceFromModifier
(com.broadleafcommerce.pricing.client.domain.PriceableTarget target, PriceList priceList, PriceableTargetPriceState priceState, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected Optional<PriceModifier>
DefaultPriceInfoService.getPriceModifierForTarget
(com.broadleafcommerce.pricing.client.domain.PriceableTarget target, PriceList priceList, PriceableTargetPriceState priceState, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultPriceDataService.readByContextId
(PriceList priceList, String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) PriceDataService.readByContextId
(PriceList priceList, String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) DefaultPriceDataService.replace
(PriceList priceList, String id, P businessInstance, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) PriceDataService.replace
(PriceList priceList, String id, P businessInstance, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) DefaultPriceDataService.update
(PriceList priceList, String id, P businessInstance, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) PriceDataService.update
(PriceList priceList, String id, P businessInstance, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Method parameters in com.broadleafcommerce.pricing.service with type arguments of type PriceListModifier and TypeMethodDescriptionDefaultPriceInfoService.convertPriceListsToPriceListIds
(Collection<PriceList> priceLists) void
DefaultPriceListFilterService.filterPriceListsUsingContextRules
(com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, List<? extends PriceList> initialList) Filter price lists by their criteria fields (getPriceContextCriteria()
) then by hierarchical relationship.void
DefaultPriceListFilterService.filterPriceListsUsingCurrencyInfo
(List<? extends PriceList> initialList, CurrencyInfo currencyInfo) Filter price lists based on currency.protected Optional<com.broadleafcommerce.pricing.client.domain.PriceDetail>
DefaultPriceInfoService.getBestPriceForType
(Map<PriceList, javax.money.MonetaryAmount> pricesMap) Deprecated.in favor ofDefaultPriceInfoService.getBestPriceFromPriceLists(Map)
in order to hold & pass on more details than justMonetaryAmount
.protected Optional<com.broadleafcommerce.pricing.client.domain.PriceDetail>
DefaultPriceInfoService.getBestPriceFromPriceLists
(Map<PriceList, PriceListPriceDetail> priceListPriceDetailMap) Picks the best (lowest) price for the price list type out of all the matches found.protected Map<org.apache.commons.lang3.tuple.Pair<String,
com.broadleafcommerce.pricing.client.domain.PriceableTargetRef>, PriceData> DefaultPriceInfoService.getPriceListAndTargetPriceDataMap
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget> priceableTargets, List<PriceList> priceLists) protected void
DefaultPriceInfoService.putPricesForType
(com.broadleafcommerce.pricing.client.domain.PriceableTarget target, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, Map<String, List<PriceList>> listsByType, String type, PriceableTargetPriceState priceState) protected org.springframework.data.domain.Page<com.broadleafcommerce.pricing.client.domain.PriceInfo>
DefaultPriceInfoService.retrievePriceInfosByPriceLists
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, List<PriceList> priceLists) DefaultPriceInfoService.splitPriceListsByType
(List<PriceList> priceLists) protected void
DefaultPriceInfoService.updateContextInfoCurrency
(List<PriceList> priceLists, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Constructor parameters in com.broadleafcommerce.pricing.service with type arguments of type PriceListModifierConstructorDescriptionDefaultPriceInfoService
(PriceDataService<PriceData> priceDataService, com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService ruleEvaluationService, PriceableFieldProperties priceableFields, PriceListService<PriceList> priceListService, com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidator validator, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of PriceList in com.broadleafcommerce.pricing.service.state
Methods in com.broadleafcommerce.pricing.service.state that return types with arguments of type PriceListModifier and TypeMethodDescriptionPriceableTargetPriceState.getCompositePriceListPriceDetailMap()
Composite of all price list price mapsPriceableTargetPriceState.getCompositePriceListPriceMap()
Deprecated, for removal: This API element is subject to removal in a future version.PriceableTargetPriceState.getContractPriceDetailByPriceListPrice()
PriceableTargetPriceState.getContractPriceListPriceMap()
Deprecated.in favor ofPriceableTargetPriceState.contractPriceDetailByPriceListPrice
protected Map<PriceList,
PriceListPriceDetail> PriceableTargetPriceState.getOtherPriceListPriceDetailMapping
(String type) Extension point for additional price list typesPriceableTargetPriceState.getOtherPriceListPriceMapping
(String type) Deprecated, for removal: This API element is subject to removal in a future version.PriceableTargetPriceState.getPriceListIdPriceListMap()
All first-level price lists mapped to the price lists they represent.PriceableTargetPriceState.getPriceListPriceDetailMappingForType
(String type) Gets the price list price mapping for the price list typePriceableTargetPriceState.getPriceListPriceMappingForType
(String type) Deprecated, for removal: This API element is subject to removal in a future version.PriceableTargetPriceState.getSalePriceDetailByPriceListPrice()
PriceableTargetPriceState.getSalePriceListPriceMap()
Deprecated.in favor ofPriceableTargetPriceState.salePriceDetailByPriceListPrice
PriceableTargetPriceState.getStdPriceDetailByPriceListPrice()
PriceableTargetPriceState.getStdPriceListPriceMap()
Deprecated.in favor ofPriceableTargetPriceState.stdPriceDetailByPriceListPrice
Methods in com.broadleafcommerce.pricing.service.state with parameters of type PriceListModifier and TypeMethodDescriptionvoid
PriceableTargetPriceState.putPriceListPriceDetailMapping
(PriceList priceList, PriceListPriceDetail priceListPriceDetail) Put a price list price mapping.void
PriceableTargetPriceState.putPriceListPriceMapping
(PriceList priceList, javax.money.MonetaryAmount price) Deprecated, for removal: This API element is subject to removal in a future version.Method parameters in com.broadleafcommerce.pricing.service.state with type arguments of type PriceListModifier and TypeMethodDescriptionprotected void
PriceableTargetPriceState.putOtherPriceListPriceDetailMaps
(Map<PriceList, PriceListPriceDetail> composite) Extension point for additional price list typesprotected void
PriceableTargetPriceState.putOtherPriceListPriceMaps
(Map<PriceList, javax.money.MonetaryAmount> composite) Deprecated, for removal: This API element is subject to removal in a future version.PriceableTargetPriceState.withPriceListIdPriceListMap
(Map<String, PriceList> priceListIdPriceListMap) -
Uses of PriceList in com.broadleafcommerce.pricing.service.validation
Methods in com.broadleafcommerce.pricing.service.validation that return types with arguments of type PriceListModifier and TypeMethodDescriptionprotected PriceListService<PriceList>
PriceDataValidator.getPriceListService()
protected PriceListService<PriceList>
PriceListValidator.getPriceListService()
Methods in com.broadleafcommerce.pricing.service.validation with parameters of type PriceListModifier and TypeMethodDescriptionprotected void
PriceListValidator.validateAllowVendorsToAddPriceData
(PriceList priceList, org.springframework.validation.Errors errors) protected void
PriceListValidator.validateEndDate
(PriceList priceList, org.springframework.validation.Errors errors) protected void
PriceListValidator.validatePriceContextCriteria
(PriceList priceList, org.springframework.validation.Errors errors) protected void
PriceListValidator.validatePriceModifier
(PriceList priceList, org.springframework.validation.Errors errors) protected void
PriceListValidator.validateUserTargets
(PriceList priceList, org.springframework.validation.Errors errors) Method parameters in com.broadleafcommerce.pricing.service.validation with type arguments of type PriceListModifier and TypeMethodDescriptionvoid
PriceDataValidator.setPriceListService
(PriceListService<PriceList> priceListService) void
PriceListValidator.setPriceListService
(PriceListService<PriceList> priceListService) -
Uses of PriceList in com.broadleafcommerce.pricing.web.endpoint
Methods in com.broadleafcommerce.pricing.web.endpoint that return PriceListModifier and TypeMethodDescriptionPriceListEndpoint.createPriceList
(jakarta.servlet.http.HttpServletRequest request, String type, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, PriceList priceList) PriceListEndpoint.readPriceListById
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId) PriceListEndpoint.readPriceListByTypeAndId
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId) PriceListEndpoint.replacePriceList
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceList priceList) PriceListEndpoint.replacePriceListWithType
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceList priceList) PriceListEndpoint.resolvePriceList
(String priceListId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) PriceListEndpoint.updatePriceList
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceList priceList) PriceListEndpoint.updatePriceListWithType
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceList priceList) Methods in com.broadleafcommerce.pricing.web.endpoint that return types with arguments of type PriceListModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<PriceList>
PriceListEndpoint.readAllContractPriceLists
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String name, org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node filters) org.springframework.data.domain.Page<PriceList>
PriceListEndpoint.readAllPriceLists
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String name, org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node filters) org.springframework.data.domain.Page<PriceList>
PriceListEndpoint.readAllSalePriceLists
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String name, org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node filters) org.springframework.data.domain.Page<PriceList>
PriceListEndpoint.readAllStandardPriceLists
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String name, org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node filters) Methods in com.broadleafcommerce.pricing.web.endpoint with parameters of type PriceListModifier and TypeMethodDescriptionPriceListEndpoint.createPriceList
(jakarta.servlet.http.HttpServletRequest request, String type, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, PriceList priceList) PriceListEndpoint.replacePriceList
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceList priceList) PriceListEndpoint.replacePriceListWithType
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceList priceList) PriceListEndpoint.updatePriceList
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceList priceList) PriceListEndpoint.updatePriceListWithType
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceList priceList) Constructor parameters in com.broadleafcommerce.pricing.web.endpoint with type arguments of type PriceListModifierConstructorDescriptionPriceListEndpoint
(PriceListService<PriceList> service, PriceDataService<PriceData> priceDataService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, PricingCurrencyHelper pricingCurrencyHelper)
DefaultPriceInfoService.addPriceDetail(PriceInfo, PriceList, PriceListPriceDetail, Map)