Uses of Class
com.broadleafcommerce.catalogbrowse.domain.Product
-
-
Uses of Product in com.broadleafcommerce.catalogbrowse.domain
Methods in com.broadleafcommerce.catalogbrowse.domain that return Product Modifier and Type Method Description ProductItemChoice. getDefaultProduct()The default product that can be used when driving customer selections if theItemChoice.targetTypeisDefaultItemChoiceTargetType.SPECIFIC_PRODUCTS.ProductItemChoice. getDefaultProductInCategory()The default product that can be used when driving customer selections if theItemChoice.targetTypeisDefaultItemChoiceTargetType.CATEGORY.ProductIncludedProduct. getProduct()This field contains the specified product if thetypeisDefaultIncludedProductType.PRODUCT.ProductSpecificItemChoice. getProduct()If theSpecificItemChoice.typeisDefaultSpecificItemChoiceType.PRODUCTthis holds the product for this choiceProductPromotionalProduct. getRelatedProduct()The product being promoted.Methods in com.broadleafcommerce.catalogbrowse.domain that return types with arguments of type Product Modifier and Type Method Description List<Product>BrowseEntityDetails. getProducts()AllProductsand their details if products match theBrowseDetailsRequest.SimplePage<Product>Category. getProducts()A page ofProductsbelonging to the category.SimplePage<Product>ItemChoiceCategory. getProducts()ASimplePageofProductsfor the category to choose from.List<Product>ProductList. getProducts()AllProductsand their details.Methods in com.broadleafcommerce.catalogbrowse.domain with parameters of type Product Modifier and Type Method Description voidItemChoice. 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 choicevoidPromotionalProduct. setRelatedProduct(Product relatedProduct)The product being promoted.Method parameters in com.broadleafcommerce.catalogbrowse.domain with type arguments of type Product Modifier and Type Method Description voidBrowseEntityDetails. 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.Constructor parameters in com.broadleafcommerce.catalogbrowse.domain with type arguments of type Product Constructor Description ProductList(List<Product> products, Set<String> productIdsForMissingEntities, Set<String> productUrisForMissingEntities) -
Uses of Product in com.broadleafcommerce.catalogbrowse.service
Methods in com.broadleafcommerce.catalogbrowse.service with parameters of type Product Modifier and Type Method Description protected LineItemDTODefaultMarketingMessageUtils. buildLineItemFromVariant(Product product, Variant variant) -
Uses of Product in com.broadleafcommerce.catalogbrowse.service.provider
Classes in com.broadleafcommerce.catalogbrowse.service.provider with type parameters of type Product Modifier and Type Interface Description interfaceCatalogSearchProvider<T extends Product>Provider for interfacing with operations around catalog search.Methods in com.broadleafcommerce.catalogbrowse.service.provider with type parameters of type Product Modifier and Type Method Description <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)<P extends Product>
List<P>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 Product Modifier and Type Method Description ProductPricingProvider. 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 Product Modifier and Type Method Description ProductPricingProvider. 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 Product Modifier and Type Method Description <T extends Product>
voidExternalCatalogProvider. hydrateProductAssets(@NonNull Collection<T> products, org.springframework.util.MultiValueMap<String,String> parameters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)protected <T extends Product>
List<T>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.pricing
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing with type parameters of type Product Modifier and Type Method Description protected <P extends Product>
List<P>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)Handles attaching thePriceInfosreturned by the pricing service onto theProductsand their related entities.<P extends Product>
List<P>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 Product Modifier and Type Method Description 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)Handles attaching thePriceInfosreturned by the pricing service onto theProductand its related entities.ProductExternalPricingProvider. 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 Product Modifier and Type Method Description 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)Handles attaching thePriceInfosreturned by the pricing service onto theProductand its related entities.ProductExternalPricingProvider. 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 Product Modifier and Type Method Description Map<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>>BaseProductPriceableTargetsBuilder. buildTargetsForProduct(@NonNull Product product)Map<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>>IncludedProductsProductPriceableTargetsBuilder. buildTargetsForProduct(@NonNull Product product)Deprecated.Map<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>>ProductOptionsProductPriceableTargetsBuilder. buildTargetsForProduct(@NonNull Product product)Map<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>>ProductPriceableTargetsBuilder. buildTargetsForProduct(Product product)Map<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>>PromotionalProductsProductPricingTargetsBuilder. buildTargetsForProduct(@NonNull Product product)Map<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>>VariantsProductPriceableTargetsBuilder. buildTargetsForProduct(@NonNull Product product)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.protected Map<String,javax.money.MonetaryAmount>ProductPriceableTargetUtils. getPriceableFields(@NonNull Product product)Builds the map of priceable fields for aProductthat will be added asPriceableTarget.getPriceableFields().protected Map<String,javax.money.MonetaryAmount>VariantPriceableTargetUtils. getPriceableFields(@NonNull Variant variant, Product product)Builds the map of priceable fields for aVariantthat will be added asPriceableTarget.getPriceableFields().Method parameters in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product with type arguments of type Product Modifier and Type Method Description Map<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>>BaseProductPriceableTargetsBuilder. buildTargetsForProducts(@NonNull Collection<? extends Product> products)Map<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>>IncludedProductsProductPriceableTargetsBuilder. buildTargetsForProducts(@NonNull Collection<? extends Product> products)Deprecated.Map<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>>ProductOptionsProductPriceableTargetsBuilder. buildTargetsForProducts(@NonNull Collection<? extends Product> products)Map<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>>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.Map<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>>PromotionalProductsProductPricingTargetsBuilder. buildTargetsForProducts(@NonNull Collection<? extends Product> products)Map<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>>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 Product Modifier and Type Class Description classExternalCatalogSearchProvider<T extends Product> -
Uses of Product in com.broadleafcommerce.catalogbrowse.web.endpoint
Methods in com.broadleafcommerce.catalogbrowse.web.endpoint that return types with arguments of type Product Modifier and Type Method Description protected CatalogSearchProvider<Product>CatalogBrowseEndpoint. getBrowseCatalogSearchProvider()SearchResponse<Product>CatalogBrowseEndpoint. getCatalogSearchResults(javax.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)Constructor parameters in com.broadleafcommerce.catalogbrowse.web.endpoint with type arguments of type Product Constructor Description CatalogBrowseEndpoint(CatalogProvider browseCatalogProvider, CatalogSearchProvider<Product> browseCatalogSearchProvider, OfferProvider browseOfferProvider, MarketingMessageUtils marketingMessageUtils, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-