Uses of Class
com.broadleafcommerce.pricing.domain.PriceList
-
-
Uses of PriceList in com.broadleafcommerce.pricing.dataimport
Methods in com.broadleafcommerce.pricing.dataimport that return types with arguments of type PriceList Modifier and Type Method Description PriceListService<PriceList>PriceDataImportBatchHandler. getPriceListService()Constructor parameters in com.broadleafcommerce.pricing.dataimport with type arguments of type PriceList Constructor Description 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.dataimport.autoconfigure
Method parameters in com.broadleafcommerce.pricing.dataimport.autoconfigure with type arguments of type PriceList Modifier and Type Method Description PriceDataImportBatchHandlerPricingServicesImportAutoConfiguration. 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 Modifier and Type Method Description intPriceList. compareTo(PriceList o)Compares first by priority then by id if equal. -
Uses of PriceList in com.broadleafcommerce.pricing.service
Classes in com.broadleafcommerce.pricing.service with type parameters of type PriceList Modifier and Type Class Description classDefaultPriceListService<P extends PriceList>interfacePriceListService<P extends PriceList>Base service API forPriceLists.Methods in com.broadleafcommerce.pricing.service with type parameters of type PriceList Modifier and Type Method Description protected <P extends PriceList>
List<P>DefaultPriceListFilterService. 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)<P extends PriceList>
List<P>DefaultPriceListFilterService. getFilteredPriceLists(com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, PriceListService<P> priceListService)<P extends PriceList>
List<P>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 listprotected <P extends PriceList>
List<P>DefaultPriceListFilterService. 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)<P extends PriceList>
List<P>DefaultPriceListFilterService. prioritizePriceLists(List<P> priceLists)<P extends PriceList>
List<P>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 PriceList Modifier and Type Method Description protected PriceListService<PriceList>DefaultPriceInfoService. getPriceListService()protected List<PriceList>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 inprotected Map<String,List<PriceList>>DefaultPriceInfoService. splitPriceListsByType(List<PriceList> priceLists)Methods in com.broadleafcommerce.pricing.service with parameters of type PriceList Modifier and Type Method Description protected voidDefaultPriceInfoService. addPriceDetail(com.broadleafcommerce.pricing.client.domain.PriceInfo priceInfo, PriceList priceList, javax.money.MonetaryAmount price, Map<String,List<PriceDataTier>> priceTiers)com.broadleafcommerce.pricing.client.domain.PriceListRefDefaultPriceListService. convertPriceListToPriceListRef(PriceList priceList)com.broadleafcommerce.pricing.client.domain.PriceListRefPriceListService. convertPriceListToPriceListRef(PriceList priceList)Create a lightweight PriceListRef from a PriceList object.PDefaultPriceDataService. create(PriceList priceList, P businessInstance, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)PPriceDataService. create(PriceList priceList, P businessInstance, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)voidDefaultPriceDataService. delete(PriceList priceList, String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)voidPriceDataService. delete(PriceList priceList, String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)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)Checks forPriceDatafor thePriceableTargetIf none, checks forPriceModifiers If none, works up thePriceListhierarchy 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_PRICEprotected 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)PDefaultPriceDataService. readByContextId(PriceList priceList, String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)PPriceDataService. readByContextId(PriceList priceList, String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)PDefaultPriceDataService. replace(PriceList priceList, String id, P businessInstance, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)PPriceDataService. replace(PriceList priceList, String id, P businessInstance, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)PDefaultPriceDataService. update(PriceList priceList, String id, P businessInstance, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)PPriceDataService. 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 PriceList Modifier and Type Method Description protected List<String>DefaultPriceInfoService. convertPriceListsToPriceListIds(Collection<PriceList> priceLists)voidDefaultPriceListFilterService. 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.voidDefaultPriceListFilterService. 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)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 voidDefaultPriceInfoService. 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)protected Map<String,List<PriceList>>DefaultPriceInfoService. splitPriceListsByType(List<PriceList> priceLists)protected voidDefaultPriceInfoService. updateContextInfoCurrency(List<PriceList> priceLists, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)Constructor parameters in com.broadleafcommerce.pricing.service with type arguments of type PriceList Constructor Description DefaultPriceInfoService(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 PriceList Modifier and Type Method Description Map<PriceList,javax.money.MonetaryAmount>PriceableTargetPriceState. getCompositePriceListPriceMap()Composite of all price list price mapsMap<PriceList,javax.money.MonetaryAmount>PriceableTargetPriceState. getContractPriceListPriceMap()protected Map<PriceList,javax.money.MonetaryAmount>PriceableTargetPriceState. getOtherPriceListPriceMapping(String type)Extension point for additional price list typesMap<String,PriceList>PriceableTargetPriceState. getPriceListIdPriceListMap()All first-level price lists mapped to the price lists they represent.Map<PriceList,javax.money.MonetaryAmount>PriceableTargetPriceState. getPriceListPriceMappingForType(String type)Gets the price list price mapping for the price list typeMap<PriceList,javax.money.MonetaryAmount>PriceableTargetPriceState. getSalePriceListPriceMap()Map<PriceList,javax.money.MonetaryAmount>PriceableTargetPriceState. getStdPriceListPriceMap()Methods in com.broadleafcommerce.pricing.service.state with parameters of type PriceList Modifier and Type Method Description voidPriceableTargetPriceState. putPriceListPriceMapping(PriceList priceList, javax.money.MonetaryAmount price)Put a price list price mapping.Method parameters in com.broadleafcommerce.pricing.service.state with type arguments of type PriceList Modifier and Type Method Description protected voidPriceableTargetPriceState. putOtherPriceListPriceMaps(Map<PriceList,javax.money.MonetaryAmount> composite)Extension point for additional price list typesPriceableTargetPriceStatePriceableTargetPriceState. 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 PriceList Modifier and Type Method Description protected PriceListService<PriceList>PriceDataValidator. getPriceListService()protected PriceListService<PriceList>PriceListValidator. getPriceListService()Methods in com.broadleafcommerce.pricing.service.validation with parameters of type PriceList Modifier and Type Method Description protected voidPriceListValidator. validateAllowVendorsToAddPriceData(PriceList priceList, org.springframework.validation.Errors errors)protected voidPriceListValidator. validateEndDate(PriceList priceList, org.springframework.validation.Errors errors)protected voidPriceListValidator. validatePriceContextCriteria(PriceList priceList, org.springframework.validation.Errors errors)protected voidPriceListValidator. validatePriceModifier(PriceList priceList, org.springframework.validation.Errors errors)protected voidPriceListValidator. validateUserTargets(PriceList priceList, org.springframework.validation.Errors errors)Method parameters in com.broadleafcommerce.pricing.service.validation with type arguments of type PriceList Modifier and Type Method Description voidPriceDataValidator. setPriceListService(PriceListService<PriceList> priceListService)voidPriceListValidator. setPriceListService(PriceListService<PriceList> priceListService) -
Uses of PriceList in com.broadleafcommerce.pricing.web.endpoint
Methods in com.broadleafcommerce.pricing.web.endpoint that return PriceList Modifier and Type Method Description PriceListPriceListEndpoint. createPriceList(javax.servlet.http.HttpServletRequest request, String type, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, PriceList priceList)PriceListPriceListEndpoint. readPriceListById(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId)PriceListPriceListEndpoint. readPriceListByTypeAndId(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId)PriceListPriceListEndpoint. replacePriceList(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceList priceList)PriceListPriceListEndpoint. replacePriceListWithType(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceList priceList)PriceListPriceListEndpoint. resolvePriceList(String priceListId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)PriceListPriceListEndpoint. updatePriceList(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceList priceList)PriceListPriceListEndpoint. updatePriceListWithType(javax.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 PriceList Modifier and Type Method Description org.springframework.data.domain.Page<PriceList>PriceListEndpoint. readAllContractPriceLists(javax.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(javax.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(javax.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(javax.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 PriceList Modifier and Type Method Description PriceListPriceListEndpoint. createPriceList(javax.servlet.http.HttpServletRequest request, String type, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, PriceList priceList)PriceListPriceListEndpoint. replacePriceList(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceList priceList)PriceListPriceListEndpoint. replacePriceListWithType(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceList priceList)PriceListPriceListEndpoint. updatePriceList(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceList priceList)PriceListPriceListEndpoint. updatePriceListWithType(javax.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 PriceList Constructor Description PriceListEndpoint(PriceListService<PriceList> service, PriceDataService<PriceData> priceDataService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, PricingCurrencyHelper pricingCurrencyHelper)
-