Uses of Class
com.broadleafcommerce.pricing.domain.PriceData
-
-
Uses of PriceData in com.broadleafcommerce.pricing.dataexport
Methods in com.broadleafcommerce.pricing.dataexport that return types with arguments of type PriceData Modifier and Type Method Description protected 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 PriceData Modifier and Type Method Description com.broadleafcommerce.common.dataexport.service.RowGenerationResponse
PriceDataExportProcessor. generateRows(List<PriceData> batchToProcess, com.broadleafcommerce.common.dataexport.domain.Export export)
Constructor parameters in com.broadleafcommerce.pricing.dataexport with type arguments of type PriceData Constructor Description PriceDataExportProcessor(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 PriceData Modifier and Type Method Description PriceDataExportProcessor
PriceDataExportAutoConfiguration. 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 Modifier and Type Method Description Map<String,String>
PriceDataRowConverter. convert(PriceData source)
-
Uses of PriceData in com.broadleafcommerce.pricing.dataimport
Methods in com.broadleafcommerce.pricing.dataimport that return types with arguments of type PriceData Modifier and Type Method Description 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
.protected List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest<PriceData>>
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.protected Optional<PriceData>
PriceDataImportBatchHandler. convertToPriceData(com.broadleafcommerce.common.dataimport.messaging.BatchRecord priceDataRecord, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> allCompletions)
protected Map<String,PriceData>
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 PriceData Modifier and Type Method Description 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
.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
.protected List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest<PriceData>>
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
Constructor parameters in com.broadleafcommerce.pricing.dataimport with type arguments of type PriceData 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 PriceData in com.broadleafcommerce.pricing.dataimport.autoconfigure
Method parameters in com.broadleafcommerce.pricing.dataimport.autoconfigure with type arguments of type PriceData Modifier and Type Method Description PriceDataImportBatchHandler
PricingServicesImportAutoConfiguration. 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 Modifier and Type Method Description PriceData
PriceDataConverter. convert(@NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord source)
-
Uses of PriceData in com.broadleafcommerce.pricing.domain
Methods in com.broadleafcommerce.pricing.domain with parameters of type PriceData Modifier and Type Method Description int
PriceData. compareTo(PriceData o)
Compares price. -
Uses of PriceData in com.broadleafcommerce.pricing.service
Classes in com.broadleafcommerce.pricing.service with type parameters of type PriceData Modifier and Type Class Description class
DefaultPriceDataService<P extends PriceData>
interface
PriceDataService<P extends PriceData>
Base service API forPriceData
.Methods in com.broadleafcommerce.pricing.service that return types with arguments of type PriceData Modifier and Type Method Description protected 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)
Constructor parameters in com.broadleafcommerce.pricing.service with type arguments of type PriceData 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 PriceData in com.broadleafcommerce.pricing.service.state
Methods in com.broadleafcommerce.pricing.service.state that return types with arguments of type PriceData Modifier and Type Method Description Map<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.Method parameters in com.broadleafcommerce.pricing.service.state with type arguments of type PriceData Modifier and Type Method Description PriceableTargetPriceState
PriceableTargetPriceState. 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
Methods in com.broadleafcommerce.pricing.service.validation that return types with arguments of type PriceData Modifier and Type Method Description protected PriceDataService<PriceData>
PriceDataValidator. getPriceDataService()
Methods in com.broadleafcommerce.pricing.service.validation with parameters of type PriceData Modifier and Type Method Description protected 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)
Method parameters in com.broadleafcommerce.pricing.service.validation with type arguments of type PriceData Modifier and Type Method Description void
PriceDataValidator. 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 PriceData Modifier and Type Field Description protected PriceDataService<PriceData>
PriceDataEndpoint. priceDataService
protected PriceDataService<PriceData>
PriceListEndpoint. priceDataService
Methods in com.broadleafcommerce.pricing.web.endpoint that return PriceData Modifier and Type Method Description PriceData
PriceDataEndpoint. createPriceData(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, PriceData req)
PriceData
PriceListEndpoint. createPriceData(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, PriceData priceData)
PriceData
PriceDataEndpoint. readPriceData(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id)
PriceData
PriceListEndpoint. readPriceData(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, String priceDataId)
PriceData
PriceDataEndpoint. replacePriceData(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceData req)
PriceData
PriceListEndpoint. replacePriceData(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, String priceDataId, PriceData priceData)
PriceData
PriceDataEndpoint. updatePriceData(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceData req)
PriceData
PriceListEndpoint. updatePriceData(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, String priceDataId, PriceData priceData)
Methods in com.broadleafcommerce.pricing.web.endpoint that return types with arguments of type PriceData Modifier and Type Method Description org.springframework.data.domain.Page<PriceData>
PriceListEndpoint. readAllPriceDataForPriceList(javax.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(javax.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(javax.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(javax.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(javax.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(javax.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 PriceData Modifier and Type Method Description PriceData
PriceDataEndpoint. createPriceData(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, PriceData req)
PriceData
PriceListEndpoint. createPriceData(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, PriceData priceData)
PriceData
PriceDataEndpoint. replacePriceData(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceData req)
PriceData
PriceListEndpoint. replacePriceData(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, String priceDataId, PriceData priceData)
PriceData
PriceDataEndpoint. updatePriceData(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, PriceData req)
PriceData
PriceListEndpoint. updatePriceData(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String priceListId, String priceDataId, PriceData priceData)
Constructor parameters in com.broadleafcommerce.pricing.web.endpoint with type arguments of type PriceData Constructor Description PriceDataEndpoint(PriceDataService<PriceData> service)
PriceListEndpoint(PriceListService<PriceList> service, PriceDataService<PriceData> priceDataService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, PricingCurrencyHelper pricingCurrencyHelper)
-