Uses of Class
com.broadleafcommerce.pricing.domain.PriceData
Package
Description
-
Uses of PriceData in com.broadleafcommerce.pricing.dataexport
Modifier and TypeMethodDescriptionprotected PriceDataService<PriceData>
PriceDataExportProcessor.getPriceDataService()
com.broadleafcommerce.common.dataexport.service.ReadRecordsResponse<PriceData>
PriceDataExportProcessor.readRecordsToProcess
(com.broadleafcommerce.common.dataexport.domain.Export export) Modifier and TypeMethodDescriptioncom.broadleafcommerce.common.dataexport.service.RowGenerationResponse
PriceDataExportProcessor.generateRows
(List<PriceData> batchToProcess, com.broadleafcommerce.common.dataexport.domain.Export export) ModifierConstructorDescriptionPriceDataExportProcessor
(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
Modifier 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
-
Uses of PriceData in com.broadleafcommerce.pricing.dataimport
Modifier 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 thePersistenceRequest
for 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 ofPersistenceRequest
for 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()
Modifier 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 thePersistenceRequest
for 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 thePersistenceRequest
for 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 ofPersistenceRequest
for thePriceData
.protected void
PriceDataImportBatchHandler.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 asPersistenceRequest
s and adds persistence result toallCompletions
ModifierConstructorDescriptionPriceDataImportBatchHandler
(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
Modifier 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
-
Uses of PriceData in com.broadleafcommerce.pricing.domain
-
Uses of PriceData in com.broadleafcommerce.pricing.service
Modifier and TypeClassDescriptionclass
DefaultPriceDataService<P extends PriceData>
interface
PriceDataService<P extends PriceData>
Base service API forPriceData
.Modifier and TypeMethodDescriptionprotected PriceDataService<PriceData>
DefaultPriceInfoService.getPriceDataService()
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) ModifierConstructorDescriptionDefaultPriceInfoService
(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 PriceData in com.broadleafcommerce.pricing.service.state
Modifier and TypeMethodDescriptionMap<org.apache.commons.lang3.tuple.Pair<String,
com.broadleafcommerce.pricing.client.domain.PriceableTargetRef>, PriceData> PriceableTargetPriceState.getPriceListAndTargetPriceDataMap()
All first-level price lists mapped to the price data they aggregate.Modifier and TypeMethodDescriptionPriceableTargetPriceState.withPriceListAndTargetPriceDataMap
(Map<org.apache.commons.lang3.tuple.Pair<String, com.broadleafcommerce.pricing.client.domain.PriceableTargetRef>, PriceData> priceListAndTargetPriceDataMap) -
Uses of PriceData in com.broadleafcommerce.pricing.service.validation
Modifier and TypeMethodDescriptionprotected PriceDataService<PriceData>
PriceDataValidator.getPriceDataService()
Modifier and TypeMethodDescriptionprotected void
PriceDataValidator.validateEndDate
(PriceData priceData, org.springframework.validation.Errors errors) protected void
PriceDataValidator.validatePrice
(PriceData priceData, org.springframework.validation.Errors errors) protected void
PriceDataValidator.validatePriceList
(PriceData priceData, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
PriceDataValidator.validateTarget
(PriceData priceData, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
PriceDataValidator.validateTargetVendorRefUnchanged
(PriceData newPriceData, PriceData oldPriceData, org.springframework.validation.Errors errors) protected void
PriceDataValidator.validateTiers
(PriceData priceData, org.springframework.validation.Errors errors) Modifier and TypeMethodDescriptionvoid
PriceDataValidator.setPriceDataService
(PriceDataService<PriceData> priceDataService) Lazy injection since this validator is itself a service component. -
Uses of PriceData in com.broadleafcommerce.pricing.web.endpoint
Modifier and TypeFieldDescriptionprotected final PriceDataService<PriceData>
PriceDataEndpoint.priceDataService
protected final PriceDataService<PriceData>
PriceListEndpoint.priceDataService
Modifier 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, 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, 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, PriceData priceData) Modifier 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) Deprecated, for removal: This API element is subject to removal in a future version.org.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, cz.jirutka.rsql.parser.ast.Node filters) 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) Deprecated, for removal: This API element is subject to removal in a future version.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) Modifier 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, 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, 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, PriceData priceData) ModifierConstructorDescriptionPriceDataEndpoint
(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)
.