Uses of Class
com.broadleafcommerce.datafeed.service.collector.domain.product.CollectedProduct
Package
Description
-
Uses of CollectedProduct in com.broadleafcommerce.datafeed.feedprovider.google.sftp.publisher.file
ModifierConstructorDescriptionCollectedProductJsonArrayToMerchantCenterXMLFileTransformer
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, DataFeedElementTransformer<CollectedProduct, MerchantCenterXMLProduct> elementTransformer, int maxSourceElementsToReadInBatch) -
Uses of CollectedProduct in com.broadleafcommerce.datafeed.feedprovider.google.sftp.publisher.file.element
Modifier and TypeMethodDescriptionCollectedProductToMerchantCenterXMLProductTransformer.getSourceElementType()
Modifier and TypeMethodDescriptionprotected List<MerchantCenterXMLProduct>
CollectedProductToMerchantCenterXMLProductTransformer.convertElement
(CollectedProduct sourceElement, DataFeedPublishRequestDetails requestDetails, MerchantCenterSFTPPublicationConfiguration publicationConfiguration) Transform theCollectedProduct
into one or more instances of target vendor XML POJO for Google Merchant Center.Modifier and TypeMethodDescriptionCollectedProductToMerchantCenterXMLProductTransformer.transform
(List<CollectedProduct> sourceElements, DataFeedPublishRequestDetails publishRequestDetails) -
Uses of CollectedProduct in com.broadleafcommerce.datafeed.feedprovider.meta.api.publisher.file
ModifierConstructorDescriptionCollectedProductJsonArrayToCommerceManagerFeedCSVFileTransformer
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, DataFeedElementTransformer<CollectedProduct, CommerceManagerFeedCSVProduct> elementTransformer, int maxSourceElementsToReadInBatch) -
Uses of CollectedProduct in com.broadleafcommerce.datafeed.feedprovider.meta.api.publisher.file.element
Modifier and TypeMethodDescriptionCollectedProductToCommerceManagerFeedCSVProductTransformer.getSourceElementType()
Modifier and TypeMethodDescriptionprotected List<CommerceManagerFeedCSVProduct>
CollectedProductToCommerceManagerFeedCSVProductTransformer.convertElement
(CollectedProduct sourceElement, DataFeedPublishRequestDetails requestDetails, CommerceManagerFeedAPIPublicationConfiguration publicationConfiguration) Transform theCollectedProduct
into one or more instances of target vendor CSV POJO for Meta Commerce Manager.Modifier and TypeMethodDescriptionCollectedProductToCommerceManagerFeedCSVProductTransformer.transform
(List<CollectedProduct> sourceElements, DataFeedPublishRequestDetails publishRequestDetails) -
Uses of CollectedProduct in com.broadleafcommerce.datafeed.service.collector.product
Modifier and TypeClassDescriptionclass
ProductDataFeedCollector<E extends CollectedProduct>
Handles gathering and storing a Product data feed to be transformed and published.Modifier and TypeMethodDescriptionInventoryEntityContributor.parseSkusForProduct
(CollectedProduct product) Modifier and TypeMethodDescriptionprotected void
PricingEntityContributor.assignDefaultProductPriceInfos
(@NonNull List<CollectedProduct> products, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
PricingEntityContributor.assignPriceInfosToProducts
(@NonNull List<CollectedProduct> products, @NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull List<com.broadleafcommerce.pricing.client.domain.PriceInfo> priceInfos, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, @NonNull DataFeedCollectionRequest request, @NonNull Map<String, Object> processState, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected com.broadleafcommerce.pricing.client.domain.context.PriceContext
PricingEntityContributor.constructPriceContext
(@NonNull List<CollectedProduct> products, @NonNull DataFeedCollectionRequest request, @NonNull Map<String, Object> processState, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Constructs aPriceContext
using theApplication
associated with theDataFeedProcessExecution.getApplicationId()
.protected com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext
PricingEntityContributor.constructPriceInfoContext
(@NonNull List<CollectedProduct> products, @NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull DataFeedCollectionRequest request, @NonNull Map<String, Object> processState, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) PricingEntityContributor.createTargetsMap
(@NonNull List<CollectedProduct> products, @NonNull DataFeedCollectionRequest request, @NonNull Map<String, Object> processState, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of CollectedProduct in com.broadleafcommerce.datafeed.service.collector.product.support
Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.pricing.client.domain.PriceableTarget
ProductPriceableTargetUtils.createTargetForPricingKey
(@NonNull CollectedProduct product, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields) Creates thePriceableTarget
for aCollectedProduct
using CollectedProduct's pricingKey asPriceableTarget.getTargetId()
.protected com.broadleafcommerce.pricing.client.domain.PriceableTarget
VariantPriceableTargetUtils.createTargetForProductPricingKey
(@NonNull VariantSummary variant, @NonNull CollectedProduct product, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields) Creates thePriceableTarget
for aVariantSummary
using its owning product'sCollectedProduct's
pricingKey asPriceableTarget.getTargetId()
.protected com.broadleafcommerce.pricing.client.domain.PriceableTarget
ProductPriceableTargetUtils.createTargetForSku
(@NonNull CollectedProduct product, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields) Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>
ProductPriceableTargetUtils.createTargets
(@NonNull CollectedProduct product) CreatesPriceableTargets
for aCollectedProduct
.Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>
VariantPriceableTargetUtils.createTargets
(@NonNull VariantSummary variant, CollectedProduct product) CreatesPriceableTargets
for aVariantSummary
.javax.money.MonetaryAmount
CollectedProductJsonAccessorUtils.getBasePrice
(CollectedProduct product) javax.money.MonetaryAmount
CollectedProductJsonAccessorUtils.getCost
(CollectedProduct product) ProductPriceableTargetUtils.getPriceableFields
(@NonNull CollectedProduct product) Builds the map of priceable fields for aCollectedProduct
that will be added asPriceableTarget.getPriceableFields()
.VariantPriceableTargetUtils.getPriceableFields
(@NonNull VariantSummary variant, CollectedProduct product) Builds the map of priceable fields for aVariantSummary
that will be added asPriceableTarget.getPriceableFields()
.CollectedProductJsonAccessorUtils.getPricingKey
(CollectedProduct product) CollectedProductJsonAccessorUtils.getProductType
(CollectedProduct product) javax.money.MonetaryAmount
CollectedProductJsonAccessorUtils.getSalePrice
(CollectedProduct product) CollectedProductJsonAccessorUtils.getSku
(CollectedProduct product) protected com.fasterxml.jackson.databind.JsonNode
CollectedProductJsonAccessorUtils.getVariantNodes
(CollectedProduct product) CollectedProductJsonAccessorUtils.getVariantSkus
(CollectedProduct product, boolean onlineOnly) CollectedProductJsonAccessorUtils.getVariantSummaries
(CollectedProduct product, boolean onlineOnly) CollectedProductJsonAccessorUtils.getVendorRef
(CollectedProduct product) Modifier and TypeMethodDescriptionBaseProductPriceableTargetsBuilder.buildTargetsForProducts
(@NonNull Collection<? extends CollectedProduct> products) ProductPriceableTargetsBuilder.buildTargetsForProducts
(Collection<? extends CollectedProduct> products) BuildsPriceableTargets
for multipleProducts
or one of the relationships such as their Variants.This returns a map where the key is the entity to which the PriceableTarget corresponds, which helps when mappingPriceInfos
back onto the entity represented by thePriceableTarget
.VariantsProductPriceableTargetsBuilder.buildTargetsForProducts
(@NonNull Collection<? extends CollectedProduct> products) -
Uses of CollectedProduct in com.broadleafcommerce.datafeed.service.collector.provider
Modifier and TypeMethodDescriptionprotected CollectedProduct
ExternalCatalogProvider.deserializeProduct
(com.fasterxml.jackson.databind.node.ObjectNode productJson) Deserializes anObjectNode
intoCollectedProduct
.Modifier and TypeMethodDescriptionprotected List<CollectedProduct>
ExternalCatalogProvider.deserializeBatchOfProductsResponse
(List<com.fasterxml.jackson.databind.node.ObjectNode> productJsonObjects) CatalogProvider.readProducts
(@NonNull List<String> idBatch, com.broadleafcommerce.data.tracking.core.context.ContextInfo readContextInfo) Reads a batch ofCollectedProducts
from the batch of provided IDs.ExternalCatalogProvider.readProducts
(@NonNull List<String> idBatch, com.broadleafcommerce.data.tracking.core.context.ContextInfo readContextInfo) Modifier and TypeMethodDescriptionList<com.broadleafcommerce.pricing.client.domain.PriceInfo>
ExternalPricingProvider.readPricesForProducts
(@NonNull List<CollectedProduct> products, @NonNull com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) List<com.broadleafcommerce.pricing.client.domain.PriceInfo>
PricingProvider.readPricesForProducts
(List<CollectedProduct> products, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method to call a PricingService to fetchPrice Infos
for the provided list of Products. -
Uses of CollectedProduct in com.broadleafcommerce.datafeed.service.publisher.file.transformer
Modifier and TypeMethodDescriptionList<com.fasterxml.jackson.databind.node.ObjectNode>
CollectedProductConversionUtil.getAllProductAssets
(CollectedProduct collectedProduct) Gets all the product assets for the given product.List<com.fasterxml.jackson.databind.node.ObjectNode>
CollectedProductConversionUtil.getAllVariants
(CollectedProduct collectedProduct) Gets all variants from thecollectedProduct
without applying any filtration.long
CollectedProductConversionUtil.getAvailableInventoryCount
(CollectedProduct collectedProduct, List<com.fasterxml.jackson.databind.node.ObjectNode> variants) When this is a variant-based product, returns the total available quantity for each of the givenvariants
.CollectedProductConversionUtil.getBrandDisplayValue
(CollectedProduct source, List<Translation> translations, Locale locale) Gets the translated display value for the product's brand.javax.money.MonetaryAmount
CollectedProductConversionUtil.getDefaultPriceAmountForProduct
(CollectedProduct collectedProduct) Gets the 'default' price for the product based on pricing information ingetPriceInfo()
.javax.money.MonetaryAmount
CollectedProductConversionUtil.getDefaultPriceAmountForVariant
(CollectedProduct collectedProduct, com.fasterxml.jackson.databind.node.ObjectNode variant) Gets the 'default' price for the variant based on pricing information ingetSkuPrices()
.protected long
CollectedProductConversionUtil.getDirectProductAvailableStockCount
(CollectedProduct collectedProduct) com.fasterxml.jackson.databind.node.ArrayNode
CollectedProductConversionUtil.getOptions
(CollectedProduct sourceElement) Gets the options from the given product, elsenull
if unavailable.javax.money.MonetaryAmount
CollectedProductConversionUtil.getSalePriceAmountForProduct
(CollectedProduct collectedProduct) Gets the 'sale' price for the product based on pricing information ingetPriceInfo()
.javax.money.MonetaryAmount
CollectedProductConversionUtil.getSalePriceAmountForVariant
(CollectedProduct collectedProduct, com.fasterxml.jackson.databind.node.ObjectNode variant) Gets the 'sale' price for the variant based on pricing information ingetSkuPrices()
.protected LongStream
CollectedProductConversionUtil.getVariantAvailableStockCounts
(CollectedProduct collectedProduct, List<com.fasterxml.jackson.databind.node.ObjectNode> variants) List<com.fasterxml.jackson.databind.node.ObjectNode>
CollectedProductConversionUtil.getVariantsWithMatchingSearchOnOptionValues
(com.fasterxml.jackson.databind.node.ObjectNode variant, CollectedProduct collectedProduct) Given a variant, finds all variants on thecollectedProduct
that have the same optionValues for option attribute names where 'searchOnOption = true'.boolean
CollectedProductConversionUtil.isProductInStock
(CollectedProduct collectedProduct, List<com.fasterxml.jackson.databind.node.ObjectNode> variants) When this is a variant-based product, availability is determined by whether any of the givenvariants
are available.