Uses of Interface
com.broadleafcommerce.cartoperation.domain.CatalogItem
Package
Description
-
Uses of CatalogItem in com.broadleafcommerce.cartoperation.domain
Modifier and TypeClassDescriptionclass
CatalogItemList<P extends CatalogItem>
A DTO that holds catalog item references for bulk operations, and lists of failed request params.Modifier and TypeClassDescriptionclass
A reference to a product, typically used as a holder for information communicated from an external service. -
Uses of CatalogItem in com.broadleafcommerce.cartoperation.service
Modifier and TypeMethodDescriptionprotected CartItemCatalogInformationService<? extends CatalogItem>
DefaultCartOperationService.getCartItemCatalogInformationService()
protected CartItemConfigurationService<? extends CatalogItem>
DefaultCartOperationService.getCartItemConfigurationService()
protected CatalogProvider<? extends CatalogItem>
DefaultItemListItemMergingService.getCatalogProvider()
protected CatalogProvider<? extends CatalogItem>
DefaultStaleCartItemsService.getCatalogProvider()
protected InventoryAvailabilityService<CatalogItem>
DefaultCartOperationService.getInventoryAvailabilityService()
protected Optional<? extends CatalogItem>
DefaultCartOperationService.identifyCatalogItemForCartItem
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItemList<? extends CatalogItem> catalogItemList) protected CatalogItemList<? extends CatalogItem>
DefaultCartOperationService.identifyCatalogItemsForAddItemRequests
(@NonNull Collection<AddItemRequest> addItemRequests, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.protected CatalogItemList<? extends CatalogItem>
DefaultCartOperationService.identifyCatalogItemsForAddItemRequests
(@NonNull Collection<AddItemRequest> addItemRequests, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CatalogItemList<? extends CatalogItem>
DefaultCartOperationService.identifyCatalogItemsForUpdateItemRequest
(@NonNull UpdateItemRequest updateItemRequest, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.protected CatalogItemList<? extends CatalogItem>
DefaultCartOperationService.identifyCatalogItemsForUpdateItemRequest
(@NonNull UpdateItemRequest updateItemRequest, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionprotected List<AddItemRequest>
DefaultCartOperationService.identifyAddItemRequestsForCatalogItems
(@NonNull Collection<AddItemRequest> addItemRequests, @NonNull CatalogItemList<? extends CatalogItem> catalogItemList) protected Optional<? extends CatalogItem>
DefaultCartOperationService.identifyCatalogItemForCartItem
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItemList<? extends CatalogItem> catalogItemList) DefaultStaleCartItemsService.identifyKeysForCatalogItems
(@NonNull CatalogItemList<? extends CatalogItem> catalogItemList, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hook point to collect the keys that will identify theCatalogItems
.com.broadleafcommerce.cart.client.domain.Cart
DefaultStaleCartItemsService.removeStaleCartItems
(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull CatalogItemList<? extends CatalogItem> catalogItemList, boolean price, boolean updateCart, @NonNull Map<String, String> paymentLockTokens, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) default com.broadleafcommerce.cart.client.domain.Cart
StaleCartItemsService.removeStaleCartItems
(com.broadleafcommerce.cart.client.domain.Cart cart, CatalogItemList<? extends CatalogItem> catalogItemList, boolean price, boolean updateCart, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Removes theCartItems
from the cart if the appropriate product doesn't exist and creates theCartAlert
about removed items.com.broadleafcommerce.cart.client.domain.Cart
StaleCartItemsService.removeStaleCartItems
(com.broadleafcommerce.cart.client.domain.Cart cart, CatalogItemList<? extends CatalogItem> catalogItemList, boolean price, boolean updateCart, Map<String, String> paymentLockTokens, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Removes theCartItems
from the cart if the appropriate product doesn't exist and creates theCartAlert
about removed items.void
DefaultStaleCartItemsService.setCatalogProvider
(CatalogProvider<? extends CatalogItem> catalogProvider) void
DefaultCartOperationService.setInventoryAvailabilityService
(InventoryAvailabilityService<CatalogItem> inventoryAvailabilityService) protected void
DefaultCartOperationService.validateCartItem
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull CatalogItemList<? extends CatalogItem> catalogItemList, 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 CatalogItemList<? extends CatalogItem> catalogItemList, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ModifierConstructorDescriptionDefaultCartOperationService
(CartOperationServiceProviders providers, CartPricingService cartPricingService, CartItemConfigurationService<? extends CatalogItem> cartItemConfigurationService, CartItemCatalogInformationService<? extends CatalogItem> cartItemCatalogInformationService, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils, com.broadleafcommerce.common.extension.TypeFactory typeFactory, CartOperationServiceProperties properties, CartItemMergingService<com.broadleafcommerce.cart.client.domain.CartItem> cartItemMergingService, org.springframework.context.MessageSource messageSource, TaxService taxService, StaleCartPricingResultHolder staleCartPricingResultHolder) DefaultCartOperationService
(CartOperationServiceProviders providers, CartPricingService cartPricingService, CartItemConfigurationService<? extends CatalogItem> cartItemConfigurationService, CartItemCatalogInformationService<? extends CatalogItem> cartItemCatalogInformationService, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils, com.broadleafcommerce.common.extension.TypeFactory typeFactory, CartOperationServiceProperties properties, CartItemMergingService<com.broadleafcommerce.cart.client.domain.CartItem> cartItemMergingService, org.springframework.context.MessageSource messageSource, TaxService taxService, StaleCartPricingResultHolder staleCartPricingResultHolder) DefaultItemListItemMergingService
(@NonNull CatalogProvider<? extends CatalogItem> catalogProvider, @NonNull CartOperationServiceProperties properties) -
Uses of CatalogItem in com.broadleafcommerce.cartoperation.service.checkout.workflow.activity
Modifier and TypeMethodDescriptionprotected CatalogItem
CartItemValidationActivity.identifyCatalogItemForCartItem
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItemList<? extends CatalogItem> catalogItemList) Modifier and TypeMethodDescriptionprotected CartItemConfigurationService<? extends CatalogItem>
CartItemValidationActivity.getCartItemConfigurationService()
protected CatalogProvider<? extends CatalogItem>
CartItemValidationActivity.getCatalogProvider()
Modifier and TypeMethodDescriptionprotected CatalogItem
CartItemValidationActivity.identifyCatalogItemForCartItem
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItemList<? extends CatalogItem> catalogItemList) CartItemValidationActivity.identifyKeysForCatalogItems
(CatalogItemList<? extends CatalogItem> catalogItemList, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hook point to collect the keys that will identify theCatalogItems
.ModifierConstructorDescriptionCartItemValidationActivity
(CatalogProvider<? extends CatalogItem> catalogProvider, CartItemConfigurationService<? extends CatalogItem> cartItemConfigurationService, org.springframework.context.MessageSource messageSource) CartItemValidationActivity
(CatalogProvider<? extends CatalogItem> catalogProvider, CartItemConfigurationService<? extends CatalogItem> cartItemConfigurationService, org.springframework.context.MessageSource messageSource) -
Uses of CatalogItem in com.broadleafcommerce.cartoperation.service.configuration
Modifier and TypeInterfaceDescriptioninterface
CartItemConfigurationService<P extends CatalogItem>
Modifier and TypeMethodDescriptionprotected CatalogProvider<? extends CatalogItem>
DefaultCartItemConfigurationService.getCatalogProvider()
Deprecated.This implementation does not useDefaultCartItemConfigurationService.catalogProvider
Modifier and TypeMethodDescriptionvoid
CartItemConfigurationService.validateCartItem
(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.cart.client.domain.CartItem cartItem, CatalogItem catalogItem, String validationFlow) Process cart item configuration by validating catalog information.void
DefaultCartItemConfigurationService.validateCartItem
(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItem product, String validationFlow) Modifier and TypeMethodDescriptiondefault boolean
CartItemConfigurationService.cartItemHasQuantityThresholds
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItemList<? extends CatalogItem> catalogItemList) Determines if the providedCartItem's
relatedCatalogItem
has quantity threshold restrictions.boolean
DefaultCartItemConfigurationService.cartItemHasQuantityThresholds
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItemList<? extends CatalogItem> catalogItemList) DefaultCartItemConfigurationService.identifyProductForCartItem
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItemList<? extends CatalogItem> catalogItemList) void
CartItemConfigurationService.validateCartItem
(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.cart.client.domain.CartItem cartItem, CatalogItemList<? extends CatalogItem> catalogItemList, String validationFlow) Process cart item configuration by validating catalog information.void
DefaultCartItemConfigurationService.validateCartItem
(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItemList<? extends CatalogItem> catalogItemList, @NonNull String validationFlow) ModifierConstructorDescriptionDefaultCartItemConfigurationService
(CatalogProvider<? extends CatalogItem> catalogProvider, IncludedProductConfigurationService includedProductService, ItemChoiceConfigurationService itemChoiceService, AttributeChoiceConfigurationService attributeChoiceService, org.springframework.context.MessageSource messageSource, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of CatalogItem in com.broadleafcommerce.cartoperation.service.inventory
Modifier and TypeClassDescriptionclass
DefaultInventoryAvailabilityService<I extends CatalogItem>
interface
InventoryAvailabilityService<I extends CatalogItem>
Modifier and TypeMethodDescriptionprotected String
DefaultInventoryAvailabilityService.determineDependentItemKey
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem dependantCartItem, @NonNull CatalogItem catalogItem, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines the item key for the dependent cart item. -
Uses of CatalogItem in com.broadleafcommerce.cartoperation.service.mapping
Modifier and TypeInterfaceDescriptioninterface
CartItemCatalogInformationService<P extends CatalogItem>
MapsCatalogItem
information into theCartItem
.Modifier and TypeMethodDescriptionprotected CatalogProvider<? extends CatalogItem>
DataDrivenCartItemProductMapper.getCatalogProvider()
Modifier and TypeMethodDescriptionDefaultCartItemCatalogInformationService.identifyProductForCartItem
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItemList<? extends CatalogItem> catalogItemList) com.broadleafcommerce.cart.client.domain.CartItem
CartItemCatalogInformationService.populateCatalogItemInformation
(com.broadleafcommerce.cart.client.domain.CartItem cartItem, CatalogItemList<? extends CatalogItem> catalogItemList, boolean isAdd, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populate catalog information within theCartItem
based on the providedCatalogItem
and the merchandising contextcom.broadleafcommerce.cart.client.domain.CartItem
DefaultCartItemCatalogInformationService.populateCatalogItemInformation
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItemList<? extends CatalogItem> catalogItemList, boolean isAdd, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ModifierConstructorDescriptionDataDrivenCartItemProductMapper
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, CatalogProvider<? extends CatalogItem> catalogProvider) -
Uses of CatalogItem in com.broadleafcommerce.cartoperation.service.pricing
Modifier and TypeMethodDescriptionprotected CartItemConfigurationService<? extends CatalogItem>
DefaultCartPricingService.getCartItemConfigurationService()
protected CatalogProvider<? extends CatalogItem>
DefaultCartPricingService.getCatalogProvider()
Modifier and TypeMethodDescriptionprotected String
DefaultCartPricingService.getPricingKey
(CatalogItem catalogItem, com.broadleafcommerce.cart.client.domain.CartItem cartItem) Returns the catalog item's pricing key, if specified, otherwise retrieves it from the cart item or generates a new one.Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.cart.client.domain.Cart
DefaultCartPricingService.applyPricesToCart
(com.broadleafcommerce.cart.client.domain.Cart cart, CatalogItemList<? extends CatalogItem> catalogItemList) ModifierConstructorDescriptionDefaultCartPricingService
(CartItemPricingUtils cartItemPricingUtils, CartProvider cartProvider, PricingProvider pricingProvider, OfferProvider offerProvider, CatalogProvider<? extends CatalogItem> catalogProvider, CartItemConfigurationService<? extends CatalogItem> cartItemConfigurationService, TaxService taxService, FulfillmentPricingService fulfillmentPricingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, CartTotalsCalculator cartTotalsCalculator, CartPricingRoundingHelper roundingHelper, CartOperationServiceProperties cartOperationServiceProperties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, org.springframework.context.MessageSource messageSource) DefaultCartPricingService
(CartItemPricingUtils cartItemPricingUtils, CartProvider cartProvider, PricingProvider pricingProvider, OfferProvider offerProvider, CatalogProvider<? extends CatalogItem> catalogProvider, CartItemConfigurationService<? extends CatalogItem> cartItemConfigurationService, TaxService taxService, FulfillmentPricingService fulfillmentPricingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, CartTotalsCalculator cartTotalsCalculator, CartPricingRoundingHelper roundingHelper, CartOperationServiceProperties cartOperationServiceProperties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, org.springframework.context.MessageSource messageSource) DefaultCartPricingService
(CartItemPricingUtils cartItemPricingUtils, CartProvider cartProvider, PricingProvider pricingProvider, OfferProvider offerProvider, CatalogProvider<? extends CatalogItem> catalogProvider, TaxService taxService, FulfillmentPricingService fulfillmentPricingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, CartTotalsCalculator cartTotalsCalculator, CartPricingRoundingHelper roundingHelper, CartOperationServiceProperties cartOperationServiceProperties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, org.springframework.context.MessageSource messageSource) -
Uses of CatalogItem in com.broadleafcommerce.cartoperation.service.provider
Modifier and TypeInterfaceDescriptioninterface
CatalogProvider<P extends CatalogItem>
Provider for interfacing with operations around aCatalog
related entities.Modifier and TypeMethodDescriptionCatalogProvider<? extends CatalogItem>
CartOperationServiceProviders.getCatalogProvider()
Gets a catalog provider.CatalogProvider<? extends CatalogItem>
DefaultCartOperationServiceProviders.getCatalogProvider()
ModifierConstructorDescriptionDefaultCartOperationServiceProviders
(CartProvider cartProvider, CatalogProvider<? extends CatalogItem> catalogProvider, OfferProvider offerProvider, CampaignProvider campaignProvider, InventoryProvider inventoryProvider) -
Uses of CatalogItem in com.broadleafcommerce.cartoperation.service.provider.external
Modifier and TypeClassDescriptionclass
ExternalCatalogProvider<I extends CatalogItem>
This particular implementation ofCatalogProvider
is designed to interact with a provider that will provide fully hydrated catalog entities, i.e., there is no need for additional calls to get a product's variants or item choices.
DefaultCartOperationService.identifyCatalogItemsForUpdateItemRequest(UpdateItemRequest, CartItem, PriceContext, ContextInfo)