Uses of Class
com.broadleafcommerce.cartoperation.domain.Product
-
-
Uses of Product in com.broadleafcommerce.cartoperation.domain
Methods in com.broadleafcommerce.cartoperation.domain that return Product Modifier and Type Method Description Product
IncludedProduct. getProduct()
This field contains the specified product if thetype
isIncludedProductType.PRODUCT
.Product
SpecificItemChoice. getProduct()
If theSpecificItemChoice.type
isSpecificItemChoiceType.PRODUCT
this holds the product for this choiceMethods in com.broadleafcommerce.cartoperation.domain that return types with arguments of type Product Modifier and Type Method Description List<Product>
ProductList. getProducts()
AllProducts
and their details.Methods in com.broadleafcommerce.cartoperation.domain with parameters of type Product Modifier and Type Method Description void
IncludedProduct. setProduct(Product product)
This field contains the specified product if thetype
isIncludedProductType.PRODUCT
.void
SpecificItemChoice. setProduct(Product product)
If theSpecificItemChoice.type
isSpecificItemChoiceType.PRODUCT
this holds the product for this choiceMethod parameters in com.broadleafcommerce.cartoperation.domain with type arguments of type Product Modifier and Type Method Description void
ProductList. setProducts(List<Product> products)
AllProducts
and their details. -
Uses of Product in com.broadleafcommerce.cartoperation.service
Methods in com.broadleafcommerce.cartoperation.service with parameters of type Product Modifier and Type Method Description protected void
DefaultCartOperationService. checkDependentItemInternalInventoryAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, @NonNull com.broadleafcommerce.cart.client.domain.CartItem dependantCartItem, @NonNull Product dependentProduct)
Checks the inventory-related fields in the catalog data to determine whether or not the dependent item is available.protected void
DefaultCartOperationService. checkInternalInventoryAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, @NonNull List<Product> products)
Checks the inventory-related fields in the catalog data to determine whether or not the item is available.protected void
DefaultCartOperationService. checkInventoryAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull Product product, @NonNull List<Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Checks the inventory of the cart item.protected void
DefaultCartOperationService. checkInventoryAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull Product product, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
protected void
DefaultCartOperationService. checkQuantityWithinThreshold(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product)
Checks if the quantity of the item fits within the threshold.protected String
DefaultCartOperationService. determineDependentItemKey(@NonNull Product product, @NonNull com.broadleafcommerce.cart.client.domain.CartItem dependantCartItem)
Determines the item key for the dependent cart item.protected String
DefaultCartOperationService. determineInventoryCheckStrategy(@NonNull Product product, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem)
protected Map<String,Integer>
DefaultCartOperationService. getRequestedQuantitiesPerSku(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull Product product)
Deprecated.protected Map<String,Integer>
DefaultCartOperationService. getRequestedQuantitiesPerSku(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull Product product, @NonNull List<Product> products)
protected void
DefaultCartOperationService. validateCartItem(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull Product product, @NonNull List<Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Validates that theCartItem
includes enough information to correctly represent the product or one of the product's variants.protected void
DefaultCartOperationService. validateCartItem(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull Product product, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Deprecated.protected void
DefaultCartOperationService. validateCartItemAfterUpdate(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, @NonNull List<Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
protected void
DefaultCartOperationService. validateCartItemAfterUpdate(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
protected void
DefaultCartOperationService. verifySkuAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, @NonNull List<Product> products, @NonNull Map<String,Boolean> availabilityMap)
protected void
DefaultCartOperationService. verifySkuAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, @NonNull Map<String,Boolean> availabilityMap)
Deprecated.Method parameters in com.broadleafcommerce.cartoperation.service with type arguments of type Product Modifier and Type Method Description protected void
DefaultCartOperationService. checkInternalInventoryAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, @NonNull List<Product> products)
Checks the inventory-related fields in the catalog data to determine whether or not the item is available.protected void
DefaultCartOperationService. checkInventoryAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull Product product, @NonNull List<Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Checks the inventory of the cart item.protected Map<String,Integer>
DefaultCartOperationService. getRequestedQuantitiesPerSku(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull Product product, @NonNull List<Product> products)
protected void
DefaultCartOperationService. validateCartItem(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull Product product, @NonNull List<Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Validates that theCartItem
includes enough information to correctly represent the product or one of the product's variants.protected void
DefaultCartOperationService. validateCartItemAfterUpdate(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, @NonNull List<Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
protected void
DefaultCartOperationService. verifySkuAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, @NonNull List<Product> products, @NonNull Map<String,Boolean> availabilityMap)
-
Uses of Product in com.broadleafcommerce.cartoperation.service.configuration
Methods in com.broadleafcommerce.cartoperation.service.configuration with parameters of type Product Modifier and Type Method Description Variant
CartItemConfigurationService. determineVariant(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product)
Attempt to determine the variant by the requested variant ID on theCartItem
.Variant
DefaultCartItemConfigurationService. determineVariant(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product)
protected boolean
DefaultCartItemConfigurationService. hasVariantDistinguishingOptions(@NonNull Product product)
void
CartItemConfigurationService. hydrateIncludedProductDependentItems(com.broadleafcommerce.cart.client.domain.CartItem cartItem, List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems, Product product, boolean isAdd)
PopulateIncludedProduct
information onCartItem.getDependentCartItems()
based on the product configuration.void
DefaultCartItemConfigurationService. hydrateIncludedProductDependentItems(com.broadleafcommerce.cart.client.domain.CartItem cartItem, List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems, Product product, boolean isAdd)
void
CartItemConfigurationService. hydrateItemChoiceDependentItems(com.broadleafcommerce.cart.client.domain.CartItem cartItem, List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems, Product product)
PopulateItemChoice
information onCartItem.getDependentCartItems()
based on the product configuration.void
DefaultCartItemConfigurationService. hydrateItemChoiceDependentItems(com.broadleafcommerce.cart.client.domain.CartItem cartItem, List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems, Product product)
void
CartItemConfigurationService. validateCartItem(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, String validationFlow)
Process cart item configuration by validating product options.void
DefaultCartItemConfigurationService. validateCartItem(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, String validationFlow)
Validate theCartItem
against the providedProduct
. -
Uses of Product in com.broadleafcommerce.cartoperation.service.mapping
Methods in com.broadleafcommerce.cartoperation.service.mapping with parameters of type Product Modifier and Type Method Description protected Set<String>
DefaultCartItemProductService. getCategoryIdsForProduct(@NonNull Product product)
protected com.broadleafcommerce.cart.client.domain.ImageAssetRef
DefaultCartItemProductService. getImageAssetForProduct(@NonNull Product product)
protected com.broadleafcommerce.cart.client.domain.ImageAssetRef
DefaultCartItemProductService. getImageAssetForVariant(@NonNull Variant variant, @NonNull Product product)
protected String
DefaultCartItemProductService. getPricingKey(Product product, com.broadleafcommerce.cart.client.domain.CartItem cartItem)
Returns the product price key, if specified, otherwise retrieves it from the cart item or generates a new one.void
CartItemProductMapper. mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, Variant variant)
void
CartItemProductMapper. mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, Variant variant, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
void
DataDrivenCartItemProductMapper. mapProductToCartItem(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, Variant variant, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
void
DataDrivenCartItemProductMapper. mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, Variant variant)
void
PropertyDrivenCartItemProductMapper. mapProductToCartItem(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, Variant variant, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
void
PropertyDrivenCartItemProductMapper. mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, Variant variant)
protected void
DefaultCartItemProductService. populateAttributeChoiceLabelsFromOptions(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product)
protected void
DefaultCartItemProductService. populateDependentItemInformation(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, @NonNull List<Product> products, boolean isAdd)
Deprecated.protected void
DefaultCartItemProductService. populateDependentItemInformation(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, @NonNull List<Product> products, boolean isAdd, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
com.broadleafcommerce.cart.client.domain.CartItem
CartItemProductService. populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, List<Product> productList, boolean isAdd)
com.broadleafcommerce.cart.client.domain.CartItem
CartItemProductService. populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, List<Product> productList, boolean isAdd, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Populate product information within theCartItem
based on the provided product and the merchandising contextcom.broadleafcommerce.cart.client.domain.CartItem
DefaultCartItemProductService. populateProductInformation(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, List<Product> productList, boolean isAdd, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
com.broadleafcommerce.cart.client.domain.CartItem
DefaultCartItemProductService. populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, List<Product> productList, boolean isAdd)
Method parameters in com.broadleafcommerce.cartoperation.service.mapping with type arguments of type Product Modifier and Type Method Description protected void
DefaultCartItemProductService. populateDependentItemInformation(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, @NonNull List<Product> products, boolean isAdd)
Deprecated.protected void
DefaultCartItemProductService. populateDependentItemInformation(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, @NonNull List<Product> products, boolean isAdd, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
com.broadleafcommerce.cart.client.domain.CartItem
CartItemProductService. populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, List<Product> productList, boolean isAdd)
com.broadleafcommerce.cart.client.domain.CartItem
CartItemProductService. populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, List<Product> productList, boolean isAdd, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Populate product information within theCartItem
based on the provided product and the merchandising contextcom.broadleafcommerce.cart.client.domain.CartItem
DefaultCartItemProductService. populateProductInformation(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product, List<Product> productList, boolean isAdd, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
com.broadleafcommerce.cart.client.domain.CartItem
DefaultCartItemProductService. populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, List<Product> productList, boolean isAdd)
-
Uses of Product in com.broadleafcommerce.cartoperation.service.pricing
Methods in com.broadleafcommerce.cartoperation.service.pricing with parameters of type Product Modifier and Type Method Description protected String
DefaultCartPricingService. getPricingKey(Product product, com.broadleafcommerce.cart.client.domain.CartItem cartItem)
Returns the product price key, if specified, otherwise retrieves it from the cart item or generates a new one. -
Uses of Product in com.broadleafcommerce.cartoperation.service.provider
Methods in com.broadleafcommerce.cartoperation.service.provider that return Product Modifier and Type Method Description Product
CatalogProvider. retrieveProduct(String productId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Retrieve the product for the context information provided. -
Uses of Product in com.broadleafcommerce.cartoperation.service.provider.external
Methods in com.broadleafcommerce.cartoperation.service.provider.external that return Product Modifier and Type Method Description Product
ExternalCatalogProvider. retrieveProduct(String productId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-