Uses of Class
com.broadleafcommerce.catalog.domain.product.commerce.ProductDetails
Package
Description
-
Uses of ProductDetails in com.broadleafcommerce.catalog.domain.commerce
Modifier and TypeMethodDescriptionBrowseEntityDetails.getProductDetails()
The products that matched the requested URI.Modifier and TypeMethodDescriptionvoid
BrowseEntityDetails.setProductDetails
(List<ProductDetails> productDetails) The products that matched the requested URI.ModifierConstructorDescriptionBrowseEntityDetails
(List<ProductDetails> productDetails, CategoryDetails categoryDetails, Set<String> urisForMissingEntities) -
Uses of ProductDetails in com.broadleafcommerce.catalog.domain.product.commerce
Modifier and TypeMethodDescriptionItemChoiceDetail.getDefaultProduct()
The default product that can be used when driving customer selections if theItemChoiceDetail.getTargetType()
isDefaultItemChoiceTargetType.SPECIFIC_PRODUCTS
.ItemChoiceDetail.getDefaultProductInCategory()
The default product that can be used when driving customer selections if theItemChoiceDetail.getTargetType()
isDefaultItemChoiceTargetType.CATEGORY
.IncludedProductDetail.getProduct()
This field contains the specified product if theadd-on type
isDefaultItemChoiceTargetType.SPECIFIC_PRODUCTS
.SpecificItemChoiceDetail.getProduct()
If theSpecificItemChoiceDetail.getType()
isDefaultSpecificItemChoiceType.PRODUCT
this holds the product for this choicePromotionalProductSummary.getRelatedProduct()
The product to promote.Modifier and TypeMethodDescriptionProductDetailsList.getProductDetails()
AllProductDetails
for this product.org.springframework.data.domain.Page<ProductDetails>
ItemChoiceCategory.getProducts()
APage
ofProducts
for the category to choose from.ProductDetailsContext.getRelatedCategoryProducts()
An aggregation of all of theProducts
belonging to relatedCategories
mapped by the category's ID.ProductDetailsContext.getRelatedProducts()
An aggregation of all of theProducts
related to theProductDetailsContext.resolvedProduct
.Modifier and TypeMethodDescriptionvoid
ItemChoiceDetail.setDefaultProduct
(ProductDetails defaultProduct) The default product that can be used when driving customer selections if theItemChoiceDetail.getTargetType()
isDefaultItemChoiceTargetType.SPECIFIC_PRODUCTS
.void
ItemChoiceDetail.setDefaultProductInCategory
(ProductDetails defaultProductInCategory) The default product that can be used when driving customer selections if theItemChoiceDetail.getTargetType()
isDefaultItemChoiceTargetType.CATEGORY
.void
IncludedProductDetail.setProduct
(ProductDetails product) This field contains the specified product if theadd-on type
isDefaultItemChoiceTargetType.SPECIFIC_PRODUCTS
.void
SpecificItemChoiceDetail.setProduct
(ProductDetails product) If theSpecificItemChoiceDetail.getType()
isDefaultSpecificItemChoiceType.PRODUCT
this holds the product for this choicevoid
PromotionalProductSummary.setRelatedProduct
(ProductDetails relatedProduct) The product to promote.Modifier and TypeMethodDescriptionvoid
ProductDetailsList.setProductDetails
(List<ProductDetails> productDetails) AllProductDetails
for this product.void
ItemChoiceCategory.setProducts
(org.springframework.data.domain.Page<ProductDetails> products) APage
ofProducts
for the category to choose from.void
ProductDetailsContext.setRelatedCategoryProducts
(Map<String, Set<ProductDetails>> relatedCategoryProducts) An aggregation of all of theProducts
belonging to relatedCategories
mapped by the category's ID.void
ProductDetailsContext.setRelatedProducts
(Map<String, ProductDetails> relatedProducts) An aggregation of all of theProducts
related to theProductDetailsContext.resolvedProduct
.ModifierConstructorDescriptionIncludedProductDetail
(IncludedProduct includedProduct, ProductDetails product, VariantDetail variant, PriceInfo priceInfo) ItemChoiceDetail
(ItemChoice itemChoice, ItemChoiceCategory category, ProductDetails defaultProductInCategory, ProductDetails defaultProduct, VariantDetail defaultVariant, PriceInfo priceInfo, List<SpecificItemChoiceDetail> specificChoices, SpecificItemChoiceDetail specificItemChoice) PromotionalProductSummary
(PromotionalProduct promotionalProduct, ProductDetails relatedProduct) SpecificItemChoiceDetail
(SpecificItemChoice specificItemChoice, ProductDetails product, VariantDetail variant, PriceInfo priceInfo, Map<String, SpecificItemVariantPricingDetail> variantPricing) ModifierConstructorDescriptionItemChoiceCategory
(String id, String name, String productMembershipRule, org.springframework.data.domain.Page<ProductDetails> products) ProductDetailsList
(List<ProductDetails> productDetails, Set<String> productIdsForMissingEntities, Set<String> productUrisForMissingEntities) -
Uses of ProductDetails in com.broadleafcommerce.catalog.service.product.commerce.context.consolidator
Modifier and TypeMethodDescriptionprotected void
RelatedProductsProductContextConsolidator.consolidateIncludedProducts
(@NonNull Collection<ProductDetails> products, @NonNull ProductDetailsContext productDetailsContext) protected void
RelatedProductsProductContextConsolidator.consolidateProductOptions
(@NonNull Collection<ProductDetails> products, @NonNull ProductDetailsContext productDetailsContext) protected void
RelatedProductsProductContextConsolidator.consolidateProductPriceInfo
(@NonNull Collection<ProductDetails> products, @NonNull ProductDetailsContext productDetailsContext) -
Uses of ProductDetails in com.broadleafcommerce.catalog.service.product.commerce.context.contributor
Modifier and TypeMethodDescriptionprotected Set<ProductDetails>
ItemChoiceHierarchyProductContextContributor.buildProductDetailsMap
(ProductDetailsContext productDetailsContext, Product product) Filters through the category and product options to collect the next set ofProductDetails
.protected Map<String,
Set<ProductDetails>> ItemChoiceHierarchyProductContextContributor.populateProductItemChoices
(Collection<? extends ProductDetailsContext> productDetailsContexts, Map<String, Set<ProductDetails>> productDetailsMap, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Responsible for population of item choice categories, products, and variants of depths greater than one.protected Map<String,
Set<ProductDetails>> ItemChoiceHierarchyProductContextContributor.retrieveNextLevelProducts
(Collection<? extends ProductDetailsContext> productDetailsContexts, Map<String, Set<ProductDetails>> previosProductDetailMap, boolean firstIteration) Retrieves the map ofProductDetails
to recursively build out the item choice hierarchy structure.Modifier and TypeMethodDescriptionItemChoiceHierarchyProductContextContributor.buildCategoryIdMap
(Collection<? extends ProductDetailsContext> productDetailsContexts, Map<String, Set<ProductDetails>> productMap, boolean firstIteration) Builds a mapping of item choice category IDs for the associated productDetailsContext.ItemChoiceHierarchyProductContextContributor.buildOptionTemplateIdMap
(Collection<? extends ProductDetailsContext> productDetailsContexts, Map<String, Set<ProductDetails>> productMap, boolean firstIteration) Builds a mapping of option template IDs for the associated productDetailsContext.ItemChoiceHierarchyProductContextContributor.buildProductIdMap
(Collection<? extends ProductDetailsContext> productDetailsContexts, Map<String, Set<ProductDetails>> productMap, boolean firstIteration) Builds a mapping of item choice product IDs for the associated productDetailsContext.ItemChoiceHierarchyProductContextContributor.buildVariantIdMap
(Collection<? extends ProductDetailsContext> productDetailsContexts, Map<String, Set<ProductDetails>> productMap, boolean firstIteration) Builds a mapping of item choice variant IDs for the associated productDetailsContext.protected Map<String,
Set<ProductDetails>> ItemChoiceHierarchyProductContextContributor.populateProductItemChoices
(Collection<? extends ProductDetailsContext> productDetailsContexts, Map<String, Set<ProductDetails>> productDetailsMap, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Responsible for population of item choice categories, products, and variants of depths greater than one.protected Map<String,
Set<ProductDetails>> ItemChoiceHierarchyProductContextContributor.retrieveNextLevelProducts
(Collection<? extends ProductDetailsContext> productDetailsContexts, Map<String, Set<ProductDetails>> previosProductDetailMap, boolean firstIteration) Retrieves the map ofProductDetails
to recursively build out the item choice hierarchy structure. -
Uses of ProductDetails in com.broadleafcommerce.catalog.service.product.commerce.contributor
Modifier and TypeMethodDescription<D extends ProductDetails,
C extends ProductDetailsContext>
Collection<D>AdvancedTagsProductDetailsContributor.contribute
(@NonNull Collection<D> productDetailsList, @NonNull Collection<C> productDetailsContexts, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) <D extends ProductDetails,
C extends ProductDetailsContext>
Collection<D>BreadcrumbsProductDetailsContributor.contribute
(@NonNull Collection<D> productDetailsList, @NonNull Collection<C> productDetailsContexts, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) <D extends ProductDetails,
C extends ProductDetailsContext>
Collection<D>CategoriesProductDetailsContributor.contribute
(@NonNull Collection<D> productDetailsList, @NonNull Collection<C> productDetailsContexts, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) <D extends ProductDetails,
C extends ProductDetailsContext>
Collection<D>DataDrivenEnumsProductDetailsContributor.contribute
(@NonNull Collection<D> productDetailsList, @NonNull Collection<C> productDetailsContexts, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) <D extends ProductDetails,
C extends ProductDetailsContext>
Collection<D>IncludedProductsProductDetailsContributor.contribute
(@NonNull Collection<D> productDetailsList, @NonNull Collection<C> productDetailsContexts, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) <D extends ProductDetails,
C extends ProductDetailsContext>
Collection<D>MinifyProductDetailsContributor.contribute
(Collection<D> productDetailsList, Collection<C> productDetailsContexts, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) <D extends ProductDetails,
C extends ProductDetailsContext>
Collection<D>PriceInfoProductDetailsContributor.contribute
(@NonNull Collection<D> productDetailsList, @NonNull Collection<C> productDetailsContexts, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) <D extends ProductDetails,
C extends ProductDetailsContext>
Collection<D>ProductAssetsProductDetailsContributor.contribute
(@NonNull Collection<D> productDetailsList, @NonNull Collection<C> productDetailsContexts, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) <D extends ProductDetails,
C extends ProductDetailsContext>
Collection<D>ProductDetailsContributor.contribute
(Collection<D> productDetailsList, Collection<C> productDetailsContexts, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Contributes to the suppliedProductDetails
.<D extends ProductDetails,
C extends ProductDetailsContext>
Collection<D>ProductOptionsProductDetailsContributor.contribute
(@NonNull Collection<D> productDetailsList, @NonNull Collection<C> productDetailsContexts, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) <D extends ProductDetails,
C extends ProductDetailsContext>
Collection<D>PromotionalProductsProductDetailsContributor.contribute
(@NonNull Collection<D> productDetailsList, @NonNull Collection<C> productDetailsContexts, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) <D extends ProductDetails,
C extends ProductDetailsContext>
Collection<D>VariantsProductDetailsContributor.contribute
(@NonNull Collection<D> productDetailsList, @NonNull Collection<C> productDetailsContexts, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) <D extends ProductDetails,
C extends ProductDetailsContext>
Collection<D>VendorRefProductDetailsContributor.contribute
(@NonNull Collection<D> productDetailsList, @NonNull Collection<C> productDetailsContexts, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected <D extends ProductDetails,
C extends ProductDetailsContext>
List<VariantDetail>VariantsProductDetailsContributor.getVariantsForProduct
(D productDetails, @NonNull Collection<C> productDetailsContexts) Gathers a list ofVariantDetails
that are related to the product provided via theProductDetails
param.protected <P extends ProductDetails>
voidDataDrivenEnumsProductDetailsContributor.setDataDrivenEnumIfPresent
(List<DataDrivenEnum> relatedDataDrivenEnums, P productDetails, Function<P, DataDrivenEnum> dataDrivenEnumGetter, BiConsumer<P, DataDrivenEnum> dataDrivenEnumSetter) Modifier and TypeMethodDescriptionprotected List<Breadcrumb>
BreadcrumbsProductDetailsContributor.buildBreadcrumbsForProductWithPrimaryCategory
(@NonNull ProductDetails product, @NonNull CategoryAncestorList primaryCategoryAndAncestry) Generates the expected list ofBreadcrumbs
for a product which was found to have a primary category.protected Breadcrumb
BreadcrumbsProductDetailsContributor.createCrumbForProduct
(ProductDetails product) protected void
MinifyProductDetailsContributor.minify
(ProductDetails details) protected void
DataDrivenEnumsProductDetailsContributor.setDataDrivenEnums
(ProductDetails productDetails, List<DataDrivenEnum> relatedDataDrivenEnums) -
Uses of ProductDetails in com.broadleafcommerce.catalog.service.product.commerce.util
Modifier and TypeMethodDescriptionprotected org.springframework.data.domain.Page<ProductDetails>
ProductOptionContributionUtils.createItemChoiceCategoryProductPage
(@NonNull Set<ProductDetails> productChoices) protected Optional<ProductDetails>
ProductOptionContributionUtils.recursivelyNarrowItemChoices
(ProductDetails product, Map<String, ProductDetails> relatedProducts, Map<String, VariantDetail> relatedVariants, Set<String> invalidProductChoiceIds, int currentDepth) Recursively builds out and prunes the item choices for the product.Modifier and TypeMethodDescriptionprotected Optional<ProductDetails>
ProductOptionContributionUtils.recursivelyNarrowItemChoices
(ProductDetails product, Map<String, ProductDetails> relatedProducts, Map<String, VariantDetail> relatedVariants, Set<String> invalidProductChoiceIds, int currentDepth) Recursively builds out and prunes the item choices for the product.Modifier and TypeMethodDescriptionprotected org.springframework.data.domain.Page<ProductDetails>
ProductOptionContributionUtils.createItemChoiceCategoryProductPage
(@NonNull Set<ProductDetails> productChoices) protected Optional<ProductDetails>
ProductOptionContributionUtils.recursivelyNarrowItemChoices
(ProductDetails product, Map<String, ProductDetails> relatedProducts, Map<String, VariantDetail> relatedVariants, Set<String> invalidProductChoiceIds, int currentDepth) Recursively builds out and prunes the item choices for the product.