Uses of Class
com.broadleafcommerce.pricing.domain.PriceData
Packages that use PriceData
Package
Description
-
Uses of PriceData in com.broadleafcommerce.pricing.dataexport
Methods in com.broadleafcommerce.pricing.dataexport that return types with arguments of type PriceDataModifier and TypeMethodDescriptionprotected PriceDataService<PriceData>PriceDataExportProcessor.getPriceDataService()com.broadleafcommerce.common.dataexport.service.ReadRecordsResponse<PriceData>PriceDataExportProcessor.readRecordsToProcess(com.broadleafcommerce.common.dataexport.domain.Export export) Method parameters in com.broadleafcommerce.pricing.dataexport with type arguments of type PriceDataModifier and TypeMethodDescriptioncom.broadleafcommerce.common.dataexport.service.RowGenerationResponsePriceDataExportProcessor.generateRows(List<PriceData> batchToProcess, com.broadleafcommerce.common.dataexport.domain.Export export) Constructor parameters in com.broadleafcommerce.pricing.dataexport with type arguments of type PriceDataModifierConstructorDescriptionPriceDataExportProcessor(PriceDataService<PriceData> priceDataService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, PriceDataRowConverter rowConverter, com.broadleafcommerce.common.dataexport.service.specification.ExportSpecification exportSpecification) -
Uses of PriceData in com.broadleafcommerce.pricing.dataexport.autoconfigure
Method parameters in com.broadleafcommerce.pricing.dataexport.autoconfigure with type arguments of type PriceDataModifier and TypeMethodDescriptionPriceDataExportAutoConfiguration.pricingExportProcessor(PriceDataService<PriceData> priceDataService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, PriceDataRowConverter priceDataRowConverter, PriceDataExportSpecification priceDataExportSpecification) -
Uses of PriceData in com.broadleafcommerce.pricing.dataexport.converter
Methods in com.broadleafcommerce.pricing.dataexport.converter with parameters of type PriceData -
Uses of PriceData in com.broadleafcommerce.pricing.dataimport
Methods in com.broadleafcommerce.pricing.dataimport that return types with arguments of type PriceDataModifier and TypeMethodDescriptionprotected com.broadleafcommerce.common.dataimport.util.PersistenceRequest<PriceData>PriceDataImportBatchHandler.buildPersistenceRequest(String requestedPriceDataTargetKey, org.apache.commons.lang3.tuple.Pair<PriceData, com.broadleafcommerce.common.dataimport.messaging.BatchRecord> requestedPriceDataAndBatchRecord, Map<String, PriceData> existingPriceDataByTargetKey) Determines id, operation type and builds thePersistenceRequestfor thePriceData.PriceDataImportBatchHandler.buildPersistenceRequests(String priceListId, Map<String, org.apache.commons.lang3.tuple.Pair<PriceData, com.broadleafcommerce.common.dataimport.messaging.BatchRecord>> requestedPriceDataByTargetKey, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Builds the list ofPersistenceRequestfor thePriceData.protected Map<String,org.apache.commons.lang3.tuple.Pair<PriceData, com.broadleafcommerce.common.dataimport.messaging.BatchRecord>> PriceDataImportBatchHandler.convertBatchRecords(com.broadleafcommerce.common.dataimport.messaging.BatchRequest batch, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> erroredCompletions, String priceListId) Converts all of the batch records in the batch request to price data.PriceDataImportBatchHandler.convertToPriceData(com.broadleafcommerce.common.dataimport.messaging.BatchRecord priceDataRecord, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> allCompletions) PriceDataImportBatchHandler.getExistingPriceDataByTargetKey(List<com.broadleafcommerce.pricing.client.domain.PriceableTargetRef> priceableTargetRefs, String priceListId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) protected PriceDataService<PriceData>PriceDataImportBatchHandler.getPriceDataService()Method parameters in com.broadleafcommerce.pricing.dataimport with type arguments of type PriceDataModifier and TypeMethodDescriptionprotected com.broadleafcommerce.common.dataimport.util.PersistenceRequest<PriceData>PriceDataImportBatchHandler.buildPersistenceRequest(String requestedPriceDataTargetKey, org.apache.commons.lang3.tuple.Pair<PriceData, com.broadleafcommerce.common.dataimport.messaging.BatchRecord> requestedPriceDataAndBatchRecord, Map<String, PriceData> existingPriceDataByTargetKey) Determines id, operation type and builds thePersistenceRequestfor thePriceData.protected com.broadleafcommerce.common.dataimport.util.PersistenceRequest<PriceData>PriceDataImportBatchHandler.buildPersistenceRequest(String requestedPriceDataTargetKey, org.apache.commons.lang3.tuple.Pair<PriceData, com.broadleafcommerce.common.dataimport.messaging.BatchRecord> requestedPriceDataAndBatchRecord, Map<String, PriceData> existingPriceDataByTargetKey) Determines id, operation type and builds thePersistenceRequestfor thePriceData.PriceDataImportBatchHandler.buildPersistenceRequests(String priceListId, Map<String, org.apache.commons.lang3.tuple.Pair<PriceData, com.broadleafcommerce.common.dataimport.messaging.BatchRecord>> requestedPriceDataByTargetKey, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Builds the list ofPersistenceRequestfor thePriceData.protected voidPriceDataImportBatchHandler.persistPersistenceRequests(com.broadleafcommerce.common.dataimport.messaging.BatchRequest batch, List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest<PriceData>> priceDataRequests, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> allCompletions) Perform a persist of the parsed out domain specified asPersistenceRequests and adds persistence result toallCompletionsConstructor parameters in com.broadleafcommerce.pricing.dataimport with type arguments of type PriceDataModifierConstructorDescriptionPriceDataImportBatchHandler(PriceDataConverter priceDataConverter, PriceDataService<PriceData> priceDataService, PriceListService<PriceList> priceListService, com.broadleafcommerce.common.extension.TypeFactory pricingFactory, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator) -
Uses of PriceData in com.broadleafcommerce.pricing.dataimport.autoconfigure
Method parameters in com.broadleafcommerce.pricing.dataimport.autoconfigure with type arguments of type PriceDataModifier 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 PriceData in com.broadleafcommerce.pricing.dataimport.converter
Methods in com.broadleafcommerce.pricing.dataimport.converter that return PriceData -
Uses of PriceData in com.broadleafcommerce.pricing.domain
Fields in com.broadleafcommerce.pricing.domain with type parameters of type PriceDataModifier and TypeFieldDescriptionprotected static final Comparator<PriceData>PriceData.PRICE_DATA_COMPARATORMethods in com.broadleafcommerce.pricing.domain that return PriceDataModifier and TypeMethodDescriptionPriceListPriceDetail.getPriceData()Store the priceData on this intermediary object to allow for consistent sorting of PriceListPriceDetail objects.PriceSummary.getPriceData()Used to store the price data object used to create this summary if applicable.Methods in com.broadleafcommerce.pricing.domain with parameters of type PriceDataModifier and TypeMethodDescriptionintCompares price.voidPriceListPriceDetail.setPriceData(PriceData priceData) Store the priceData on this intermediary object to allow for consistent sorting of PriceListPriceDetail objects.voidPriceSummary.setPriceData(PriceData priceData) Used to store the price data object used to create this summary if applicable. -
Uses of PriceData in com.broadleafcommerce.pricing.service
Classes in com.broadleafcommerce.pricing.service with type parameters of type PriceDataModifier and TypeClassDescriptionclassDefaultPriceDataService<P extends PriceData>interfacePriceDataService<P extends PriceData>Base service API forPriceData.Methods in com.broadleafcommerce.pricing.service with type parameters of type PriceDataModifier and TypeMethodDescriptionprotected <T extends com.broadleafcommerce.pricing.client.domain.PriceableTarget,R extends PriceData>
Set<T>DefaultPriceInfoService.getTargetsForAllRecurringPeriodTypes(@NonNull Set<T> priceableTargets, @NonNull Set<R> availablePriceData, boolean matchPaymentStrategy) Gets a newSetofPriceableTargets with all available term and frequency combinations.Methods in com.broadleafcommerce.pricing.service that return types with arguments of type PriceDataModifier and TypeMethodDescriptionDefaultPriceInfoService.findMatchingAdjustmentPriceData(PriceList priceList, com.broadleafcommerce.pricing.client.domain.PriceableTarget target, PriceableTargetPriceState priceState) protected PriceDataService<PriceData>DefaultPriceInfoService.getPriceDataService()protected PriceDataService<PriceData>DefaultPricingTransactionService.getPriceDataService()protected Map<org.apache.commons.lang3.tuple.Pair<String,TargetKeyDto>, List<PriceData>> DefaultPriceInfoService.getPriceListAndTargetPriceDataMap(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget> priceableTargets, List<PriceList> priceLists) Methods in com.broadleafcommerce.pricing.service with parameters of type PriceDataModifier and TypeMethodDescriptionprotected voidDefaultPriceInfoService.applyPriceDataAdjustment(com.broadleafcommerce.pricing.client.domain.PriceDetail priceDetail, PriceData priceData) protected PriceSummaryDefaultPriceInfoService.buildSummaryFromPriceData(@NonNull com.broadleafcommerce.pricing.client.domain.PriceableTarget target, @NonNull PriceData data) Builds aPriceSummaryofdata.protected booleanDefaultPriceInfoService.checkForCharacteristicMatch(PriceData priceData, com.broadleafcommerce.pricing.client.domain.PriceableTarget target) protected booleanDefaultPriceInfoService.checkForPaymentStrategyMatch(PriceData pd, com.broadleafcommerce.pricing.client.domain.PriceableTarget target) protected booleanDefaultPriceInfoService.checkForRecurringFrequencyMatch(PriceData pd, com.broadleafcommerce.pricing.client.domain.PriceableTarget target) protected booleanDefaultPriceInfoService.checkForTermMatch(PriceData pd, com.broadleafcommerce.pricing.client.domain.PriceableTarget target) protected List<PriceDataTier>DefaultPriceInfoService.filterPriceDataTiers(com.broadleafcommerce.pricing.client.domain.PriceableTarget target, PriceData priceData) Filters the tiers on the providedPriceDatabased on the attribute or characteristic.protected booleanDefaultPriceInfoService.hasTermOrFrequency(@NonNull PriceData priceData) protected booleanDefaultPriceInfoService.priceDataMatchesTarget(@NonNull com.broadleafcommerce.pricing.client.domain.PriceableTarget target, @NonNull PriceData priceData, @NonNull PriceableTargetPriceState priceState) Compares the terms and characteristics of thepriceDatato those requested on thetargetto ensure it matches.protected booleanDefaultPriceInfoService.priceDataMatchesTarget(@NonNull com.broadleafcommerce.pricing.client.domain.PriceableTarget target, @NonNull PriceData priceData, PriceableTargetPriceState priceState, boolean checkTerm, boolean checkRecurringFrequency, boolean checkPaymentStrategy) Compares the terms and characteristics of thepriceDatato those requested on thetargetto ensure it matches.Method parameters in com.broadleafcommerce.pricing.service with type arguments of type PriceDataModifier and TypeMethodDescriptionprotected voidDefaultPriceInfoService.removePriceDataFromLowerPriorityPriceLists(Map<org.apache.commons.lang3.tuple.Pair<String, TargetKeyDto>, List<PriceData>> priceListAndTargetPriceDataMap, Map<TargetKeyDto, Map<String, Set<PriceList>>> priceListsByTypeByTarget) Constructor parameters in com.broadleafcommerce.pricing.service with type arguments of type PriceDataModifierConstructorDescriptionDefaultPriceInfoService(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) DefaultPricingTransactionService(PriceListService<PriceList> priceListService, PriceDataService<PriceData> priceDataService, PriceDataUsageDetailService<PriceDataUsageDetail> priceDataUsageDetailService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of PriceData in com.broadleafcommerce.pricing.service.state
Methods in com.broadleafcommerce.pricing.service.state that return types with arguments of type PriceDataModifier and TypeMethodDescriptionPriceableTargetPriceState.getCostPriceData()If a COST priceData was found for this target, it will be stored here.Map<org.apache.commons.lang3.tuple.Pair<String,TargetKeyDto>, List<PriceData>> PriceableTargetPriceState.getPriceListAndTargetPriceDataMap()All first-level price lists mapped to the price data they aggregate.Method parameters in com.broadleafcommerce.pricing.service.state with type arguments of type PriceDataModifier and TypeMethodDescriptionvoidPriceableTargetPriceState.setCostPriceData(Optional<PriceData> costPriceData) If a COST priceData was found for this target, it will be stored here.PriceableTargetPriceState.withPriceListAndTargetPriceDataMap(Map<org.apache.commons.lang3.tuple.Pair<String, TargetKeyDto>, List<PriceData>> priceListAndTargetPriceDataMap) -
Uses of PriceData in com.broadleafcommerce.pricing.service.validation
Methods in com.broadleafcommerce.pricing.service.validation that return types with arguments of type PriceDataModifier and TypeMethodDescriptionprotected PriceDataService<PriceData>PriceDataValidator.getPriceDataService()Methods in com.broadleafcommerce.pricing.service.validation with parameters of type PriceDataModifier and TypeMethodDescriptionprotected voidPriceDataValidator.validateAdjustmentData(Optional<PriceList> priceList, PriceData priceData, org.springframework.validation.Errors errors) protected voidPriceDataValidator.validateEndDate(PriceData priceData, org.springframework.validation.Errors errors) protected voidPriceDataValidator.validateLimitedQuantityGroup(PriceData priceData, org.springframework.validation.Errors errors) Validate the limitedQuantityGroup containing the startingQuantity and the availableQuantity fields for correct valuesprotected voidPriceDataValidator.validatePrice(Optional<PriceList> priceList, PriceData priceData, org.springframework.validation.Errors errors) PriceDataValidator.validatePriceList(PriceData priceData, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidPriceDataValidator.validateRecurringPrice(PriceData priceData, org.springframework.validation.Errors errors) Validate fields whengetRecurringPrice()is present.protected voidPriceDataValidator.validateTarget(PriceData priceData, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidPriceDataValidator.validateTargetVendorRefUnchanged(PriceData newPriceData, PriceData oldPriceData, org.springframework.validation.Errors errors) voidPriceDataValidator.validateTerms(PriceData priceData, org.springframework.validation.Errors errors) protected voidPriceDataValidator.validateTiers(PriceData priceData, org.springframework.validation.Errors errors) protected voidPriceDataValidator.validateUsagePrice(PriceData priceData, org.springframework.validation.Errors errors) Validate fields whengetUsagePrice()is present.Method parameters in com.broadleafcommerce.pricing.service.validation with type arguments of type PriceDataModifier and TypeMethodDescriptionvoidPriceDataValidator.setPriceDataService(PriceDataService<PriceData> priceDataService) Lazy injection since this validator is itself a service component. -
Uses of PriceData in com.broadleafcommerce.pricing.web.endpoint
Fields in com.broadleafcommerce.pricing.web.endpoint with type parameters of type PriceDataModifier and TypeFieldDescriptionprotected final PriceDataService<PriceData>PriceDataEndpoint.priceDataServiceprotected final PriceDataService<PriceData>PriceListEndpoint.priceDataServiceMethods in com.broadleafcommerce.pricing.web.endpoint that return PriceDataModifier and TypeMethodDescriptionPriceDataEndpoint.createPriceData(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, PriceData req) PriceListEndpoint.createPriceData(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, String type, PriceData priceData) PriceDataEndpoint.readPriceData(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id) PriceListEndpoint.readPriceData(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, String priceDataId) PriceDataEndpoint.replacePriceData(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceData req) PriceListEndpoint.replacePriceData(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, String priceDataId, String type, PriceData priceData) PriceDataEndpoint.resolvePriceDataAndCheckSecurity(String priceDataId, com.broadleafcommerce.data.tracking.core.type.OperationType operation, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) PriceDataEndpoint.updatePriceData(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceData req) PriceListEndpoint.updatePriceData(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, String priceDataId, String type, PriceData priceData) Methods in com.broadleafcommerce.pricing.web.endpoint that return types with arguments of type PriceDataModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<PriceData>PriceListEndpoint.readAllPriceDataForPriceList(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, org.springframework.data.domain.Pageable page, String priceListId, cz.jirutka.rsql.parser.ast.Node filters) org.springframework.data.domain.Page<PriceData>PriceListEndpoint.readAllPriceDatasByTargetTypeAndId(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, org.springframework.data.domain.Pageable page, String targetType, List<String> targetIds, String priceListId) Deprecated, for removal: This API element is subject to removal in a future version.org.springframework.data.domain.Page<PriceData>PriceListEndpoint.readAllPriceDatasByTargetTypeAndId(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, org.springframework.data.domain.Pageable page, String targetType, List<String> targetIds, String priceListId, String type, cz.jirutka.rsql.parser.ast.Node filters) PriceDataEndpoint.readBulkPriceData(cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Allows bulk read of price data without requiring target/price list id/etc.org.springframework.data.domain.Page<PriceData>PriceDataEndpoint.readPriceDataByPriceListAndTargets(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, String targetType, List<String> targetIds, org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node filters) Methods in com.broadleafcommerce.pricing.web.endpoint with parameters of type PriceDataModifier and TypeMethodDescriptionPriceDataEndpoint.createPriceData(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, PriceData req) PriceListEndpoint.createPriceData(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, String type, PriceData priceData) PriceDataEndpoint.replacePriceData(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceData req) PriceListEndpoint.replacePriceData(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, String priceDataId, String type, PriceData priceData) PriceDataEndpoint.updatePriceData(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceData req) PriceListEndpoint.updatePriceData(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, String priceDataId, String type, PriceData priceData) Constructor parameters in com.broadleafcommerce.pricing.web.endpoint with type arguments of type PriceDataModifierConstructorDescriptionPriceDataEndpoint(PriceDataService<PriceData> service) PriceListEndpoint(PriceListService<PriceList> service, PriceDataService<PriceData> priceDataService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, PricingCurrencyHelper pricingCurrencyHelper)
PriceListEndpoint.readAllPriceDataForPriceList(HttpServletRequest, ContextInfo, Pageable, String, Node).