Uses of Class
com.broadleafcommerce.catalogbrowse.domain.Product
Packages that use Product
Package
Description
-
Uses of Product in com.broadleafcommerce.catalogbrowse.domain
Methods in com.broadleafcommerce.catalogbrowse.domain that return ProductModifier and TypeMethodDescriptionItemChoice.getDefaultProduct()The default product that can be used when driving customer selections if theItemChoice.targetTypeisDefaultItemChoiceTargetType.SPECIFIC_PRODUCTS.ItemChoice.getDefaultProductInCategory()The default product that can be used when driving customer selections if theItemChoice.targetTypeisDefaultItemChoiceTargetType.CATEGORY.IncludedProduct.getProduct()This field contains the specified product if thetypeisDefaultIncludedProductType.PRODUCT.SpecificItemChoice.getProduct()If theSpecificItemChoice.typeisDefaultSpecificItemChoiceType.PRODUCTthis holds the product for this choicePromotionalCategoryProduct.getPromotionalProduct()The product to promote.PromotionalProduct.getRelatedProduct()The product being promoted.Methods in com.broadleafcommerce.catalogbrowse.domain that return types with arguments of type ProductModifier and TypeMethodDescriptionBrowseEntityDetails.getProducts()AllProductsand their details if products match theBrowseDetailsRequest.Category.getProducts()A page ofProductsbelonging to the category.ItemChoiceCategory.getProducts()ASimplePageofProductsfor the category to choose from.ProductList.getProducts()AllProductsand their details.Category.getSearchResponse()IfCategoryDetailsRequest.isHydrateCategoryProductsFromSearch()orBrowseDetailsRequest.isHydrateCategoryProductsFromSearch()is true, then this will be populated instead ofCategory.products.Methods in com.broadleafcommerce.catalogbrowse.domain with parameters of type ProductModifier and TypeMethodDescriptionvoidItemChoice.setDefaultProduct(Product defaultProduct) The default product that can be used when driving customer selections if theItemChoice.targetTypeisDefaultItemChoiceTargetType.SPECIFIC_PRODUCTS.voidItemChoice.setDefaultProductInCategory(Product defaultProductInCategory) The default product that can be used when driving customer selections if theItemChoice.targetTypeisDefaultItemChoiceTargetType.CATEGORY.voidIncludedProduct.setProduct(Product product) This field contains the specified product if thetypeisDefaultIncludedProductType.PRODUCT.voidSpecificItemChoice.setProduct(Product product) If theSpecificItemChoice.typeisDefaultSpecificItemChoiceType.PRODUCTthis holds the product for this choicevoidPromotionalCategoryProduct.setPromotionalProduct(Product promotionalProduct) The product to promote.voidPromotionalProduct.setRelatedProduct(Product relatedProduct) The product being promoted.Method parameters in com.broadleafcommerce.catalogbrowse.domain with type arguments of type ProductModifier and TypeMethodDescriptionvoidBrowseEntityDetails.setProducts(List<Product> products) AllProductsand their details if products match theBrowseDetailsRequest.voidCategory.setProducts(SimplePage<Product> products) A page ofProductsbelonging to the category.voidItemChoiceCategory.setProducts(SimplePage<Product> products) ASimplePageofProductsfor the category to choose from.voidProductList.setProducts(List<Product> products) AllProductsand their details.voidCategory.setSearchResponse(SearchResponse<Product> searchResponse) IfCategoryDetailsRequest.isHydrateCategoryProductsFromSearch()orBrowseDetailsRequest.isHydrateCategoryProductsFromSearch()is true, then this will be populated instead ofCategory.products.Constructor parameters in com.broadleafcommerce.catalogbrowse.domain with type arguments of type Product -
Uses of Product in com.broadleafcommerce.catalogbrowse.service
Methods in com.broadleafcommerce.catalogbrowse.service that return types with arguments of type ProductModifier and TypeMethodDescriptionprotected CatalogSearchProvider<Product>DefaultBrowseEntityResolver.getBrowseCatalogSearchProvider()Methods in com.broadleafcommerce.catalogbrowse.service with parameters of type ProductModifier and TypeMethodDescriptionprotected LineItemDTODefaultMarketingMessageUtils.buildLineItemFromVariant(Product product, Variant variant) Method parameters in com.broadleafcommerce.catalogbrowse.service with type arguments of type ProductModifier and TypeMethodDescriptionvoidDefaultBrowseEntityResolver.setBrowseCatalogSearchProvider(CatalogSearchProvider<Product> browseCatalogSearchProvider) -
Uses of Product in com.broadleafcommerce.catalogbrowse.service.provider
Classes in com.broadleafcommerce.catalogbrowse.service.provider with type parameters of type ProductModifier and TypeInterfaceDescriptioninterfaceCatalogSearchProvider<T extends Product>Provider for interfacing with operations around catalog search.Methods in com.broadleafcommerce.catalogbrowse.service.provider with type parameters of type ProductModifier and TypeMethodDescription<P extends Product>
Collection<P>InventoryProvider.determineProductsInventoryAvailability(Collection<P> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) <T extends Product>
voidCatalogProvider.hydrateProductAssets(Collection<T> products, org.springframework.util.MultiValueMap<String, String> parameters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieves theAssetsfor the providedproductsand populates them ontosetAssets(java.util.List<com.broadleafcommerce.catalogbrowse.domain.Asset>).<T extends Product>
voidCatalogProvider.hydrateProductTags(Collection<T> products, org.springframework.util.MultiValueMap<String, String> parameters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) PricingProvider.priceProducts(Collection<P> products, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populates pricing info for the providedProductsand their related priceable entities:Variant,IncludedProduct,SpecificItemChoice.Methods in com.broadleafcommerce.catalogbrowse.service.provider that return ProductModifier and TypeMethodDescriptionPricingProvider.priceProduct(Product product, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populates pricing info for the providedProductand its related priceable entities:Variant,IncludedProduct,SpecificItemChoice.Methods in com.broadleafcommerce.catalogbrowse.service.provider with parameters of type ProductModifier and TypeMethodDescriptionPricingProvider.priceProduct(Product product, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populates pricing info for the providedProductand its related priceable entities:Variant,IncludedProduct,SpecificItemChoice. -
Uses of Product in com.broadleafcommerce.catalogbrowse.service.provider.external.catalog
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.catalog with type parameters of type ProductModifier and TypeMethodDescription<T extends Product>
voidExternalCatalogProvider.hydrateProductAssets(@NonNull Collection<T> products, org.springframework.util.MultiValueMap<String, String> parameters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ExternalCatalogProvider.hydrateProductsAvailability(@NonNull List<T> toHydrate, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hydrates inventory availability onto the retrieved products.ExternalCatalogProvider.hydrateProductsPricing(@NonNull List<T> toHydrate, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hydrates pricing onto the retrieved products.<T extends Product>
voidExternalCatalogProvider.hydrateProductTags(@NonNull Collection<T> products, org.springframework.util.MultiValueMap<String, String> parameters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of Product in com.broadleafcommerce.catalogbrowse.service.provider.external.inventory
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.inventory with type parameters of type ProductModifier and TypeMethodDescriptionprotected <P extends Product>
Collection<P>ExternalInventoryProvider.attachSummariesToProducts(@NonNull Collection<P> products, @NonNull Collection<SkuInventoryAvailabilitySummary> summaries, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Attaches inventory availability summaries to the products.protected <P extends Product>
Collection<SkuInventoryAvailabilityRequest>ExternalInventoryProvider.buildSkuInventoryAvailabilityRequests(@NonNull Collection<P> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds a listSkuInventoryAvailabilityRequestto verify the availability of the SKU for the provided quantity.<P extends Product>
Collection<P>ExternalInventoryProvider.determineProductsInventoryAvailability(@NonNull Collection<P> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected <P extends Product>
List<SkuInventoryAvailabilitySummary>ExternalInventoryProvider.getInventorySummaries(@NonNull Collection<P> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected <P extends Product>
booleanExternalInventoryProvider.productRequiresInventoryCheck(P product, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.inventory with parameters of type ProductModifier and TypeMethodDescriptionprotected <V extends Variant>
booleanExternalInventoryProvider.variantRequiresInventoryCheck(V variant, @NonNull Product product, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of Product in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing with type parameters of type ProductModifier and TypeMethodDescriptionExternalPricingProvider.attachPricingToProducts(@NonNull Collection<P> products, @NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull SimplePage<com.broadleafcommerce.pricing.client.domain.PriceInfo> priceInfos) Deprecated.ExternalPricingProvider.attachPricingToProducts(@NonNull Collection<P> products, @NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull SimplePage<com.broadleafcommerce.pricing.client.domain.PriceInfo> priceInfos, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext) Handles attaching thePriceInfosreturned by the pricing service onto theProductsand their related entities.ExternalPricingProvider.priceProducts(@NonNull Collection<P> products, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populates pricing info for the providedProductsand their related priceable entities:Variant,IncludedProduct,SpecificItemChoice.Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing that return ProductModifier and TypeMethodDescriptionprotected ProductExternalPricingProvider.attachPricingToProduct(@NonNull Product product, @NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull SimplePage<com.broadleafcommerce.pricing.client.domain.PriceInfo> priceInfos) Deprecated.UseExternalPricingProvider.attachPricingToProduct(Product, Map, SimplePage, PriceContext)Passing thePriceContextsupports proper filtering ofPriceInforesults that are in the proper currency.protected ProductExternalPricingProvider.attachPricingToProduct(@NonNull Product product, @NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull SimplePage<com.broadleafcommerce.pricing.client.domain.PriceInfo> priceInfos, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext) Handles attaching thePriceInfosreturned by the pricing service onto theProductand its related entities.ExternalPricingProvider.priceProduct(@NonNull Product product, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populates pricing info for the providedProductand its related priceable entities:Variant,IncludedProduct,SpecificItemChoice.Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing with parameters of type ProductModifier and TypeMethodDescriptionprotected ProductExternalPricingProvider.attachPricingToProduct(@NonNull Product product, @NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull SimplePage<com.broadleafcommerce.pricing.client.domain.PriceInfo> priceInfos) Deprecated.UseExternalPricingProvider.attachPricingToProduct(Product, Map, SimplePage, PriceContext)Passing thePriceContextsupports proper filtering ofPriceInforesults that are in the proper currency.protected ProductExternalPricingProvider.attachPricingToProduct(@NonNull Product product, @NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull SimplePage<com.broadleafcommerce.pricing.client.domain.PriceInfo> priceInfos, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext) Handles attaching thePriceInfosreturned by the pricing service onto theProductand its related entities.ExternalPricingProvider.priceProduct(@NonNull Product product, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populates pricing info for the providedProductand its related priceable entities:Variant,IncludedProduct,SpecificItemChoice. -
Uses of Product in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product with parameters of type ProductModifier and TypeMethodDescriptionBaseProductPriceableTargetsBuilder.buildTargetsForProduct(@NonNull Product product) IncludedProductsProductPriceableTargetsBuilder.buildTargetsForProduct(@NonNull Product product) Deprecated.ProductOptionsProductPriceableTargetsBuilder.buildTargetsForProduct(@NonNull Product product) ProductPriceableTargetsBuilder.buildTargetsForProduct(Product product) PromotionalProductsProductPricingTargetsBuilder.buildTargetsForProduct(@NonNull Product product) VariantsProductPriceableTargetsBuilder.buildTargetsForProduct(@NonNull Product product) protected com.broadleafcommerce.pricing.client.domain.PriceableTargetProductPriceableTargetUtils.createTargetForLowestPricedSku(@NonNull SkuPricingPredicate lowestPricedSkuPredicate, @NonNull Product product) Creates aPriceableTargetfor theSkuPricingPredicatethat represents the lowest priced sku.protected com.broadleafcommerce.pricing.client.domain.PriceableTargetProductPriceableTargetUtils.createTargetForPricingKey(@NonNull Product product, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields) protected com.broadleafcommerce.pricing.client.domain.PriceableTargetVariantPriceableTargetUtils.createTargetForProductPricingKey(@NonNull Variant variant, @NonNull Product product, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields) Creates thePriceableTargetfor aVariantusing its owning product'spricingKeyasPriceableTarget.getTargetId().protected com.broadleafcommerce.pricing.client.domain.PriceableTargetProductPriceableTargetUtils.createTargetForSku(@NonNull Product product, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields) Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>ProductPriceableTargetUtils.createTargets(@NonNull Product product) CreatesPriceableTargetsfor aProduct.Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>VariantPriceableTargetUtils.createTargets(@NonNull Variant variant, Product product) CreatesPriceableTargetsfor aVariant.ProductPriceableTargetUtils.getPriceableFields(@NonNull Product product) Builds the map of priceable fields for aProductthat will be added asPriceableTarget.getPriceableFields().VariantPriceableTargetUtils.getPriceableFields(@NonNull Variant variant, Product product) Builds the map of priceable fields for aVariantthat will be added asPriceableTarget.getPriceableFields().protected voidProductPriceableTargetUtils.setCharacteristicsAndTerms(@NonNull Product product, com.broadleafcommerce.pricing.client.domain.PriceableTarget targetById) protected voidVariantPriceableTargetUtils.setCharacteristicsAndTerms(Product product, com.broadleafcommerce.pricing.client.domain.PriceableTarget targetById) Method parameters in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product with type arguments of type ProductModifier and TypeMethodDescriptionBaseProductPriceableTargetsBuilder.buildTargetsForProducts(@NonNull Collection<? extends Product> products) IncludedProductsProductPriceableTargetsBuilder.buildTargetsForProducts(@NonNull Collection<? extends Product> products) Deprecated.ProductOptionsProductPriceableTargetsBuilder.buildTargetsForProducts(@NonNull Collection<? extends Product> products) ProductPriceableTargetsBuilder.buildTargetsForProducts(Collection<? extends Product> products) BuildsPriceableTargetsfor multipleProductsor one of the relationships such astheir Variants.This returns a map where the key is the entity to which the PriceableTarget corresponds, which helps when mappingPriceInfosback onto the entity represented by thePriceableTarget.PromotionalProductsProductPricingTargetsBuilder.buildTargetsForProducts(@NonNull Collection<? extends Product> products) VariantsProductPriceableTargetsBuilder.buildTargetsForProducts(@NonNull Collection<? extends Product> products) -
Uses of Product in com.broadleafcommerce.catalogbrowse.service.provider.external.search
Classes in com.broadleafcommerce.catalogbrowse.service.provider.external.search with type parameters of type ProductMethods in com.broadleafcommerce.catalogbrowse.service.provider.external.search with parameters of type ProductModifier and TypeMethodDescriptionprotected voidExternalCatalogSearchProvider.addPriceDetail(Product product, DefaultPriceableFieldType fieldType, javax.money.MonetaryAmount price, boolean replaceExisting) protected voidExternalCatalogSearchProvider.addPriceDetailFromProductData(Product product, DefaultPriceableFieldType fieldType, javax.money.MonetaryAmount price) protected voidExternalCatalogSearchProvider.addPriceDetailsFromProductData(Product product, ProductPricingPredicate predicate) Add price details from product's data.protected voidExternalCatalogSearchProvider.overrideProductPriceDetailsWithSkuData(Product product, ProductPricingPredicate predicate) By default, this method overrides the product prices for display in search with the values from the lowest priced sku.protected ProductPricingPredicateExternalCatalogSearchProvider.parseProductPricingPredicate(Product product, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Attempts to fetch theProductPricingPredicatefrom the search response, if it exists.protected voidExternalCatalogSearchProvider.updatePricingKeyFromPredicate(ProductPricingPredicate predicate, Product product) Adds the pricing key from the predicate to the product if the product does not already have a pricing key value. -
Uses of Product in com.broadleafcommerce.catalogbrowse.web.endpoint
Methods in com.broadleafcommerce.catalogbrowse.web.endpoint that return types with arguments of type ProductModifier and TypeMethodDescriptionprotected CatalogSearchProvider<Product>CatalogBrowseEndpoint.getBrowseCatalogSearchProvider()CatalogBrowseEndpoint.getCatalogSearchResults(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, org.springframework.util.MultiValueMap<String, String> parameters) TODO: The/search/catalogmapping should be removed in the future as we will want to deprecate it in favor of/browse/search/catalog.Constructor parameters in com.broadleafcommerce.catalogbrowse.web.endpoint with type arguments of type ProductModifierConstructorDescriptionCatalogBrowseEndpoint(CatalogProvider browseCatalogProvider, BrowseEntityResolver browseEntityResolver, CatalogSearchProvider<Product> browseCatalogSearchProvider, OfferProvider browseOfferProvider, MarketingMessageUtils marketingMessageUtils, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
ExternalPricingProvider.attachPricingToProducts(Collection, Map, SimplePage, PriceContext)Passing thePriceContextsupports proper filtering ofPriceInforesults that are in the proper currency.