Uses of Class
com.broadleafcommerce.cartoperation.domain.CatalogItemList
Package
Description
-
Uses of CatalogItemList in com.broadleafcommerce.cartoperation.service
Modifier and TypeMethodDescriptionprotected 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.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) -
Uses of CatalogItemList 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) CartItemValidationActivity.identifyKeysForCatalogItems
(CatalogItemList<? extends CatalogItem> catalogItemList, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hook point to collect the keys that will identify theCatalogItems
. -
Uses of CatalogItemList in com.broadleafcommerce.cartoperation.service.configuration
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) -
Uses of CatalogItemList in com.broadleafcommerce.cartoperation.service.inventory
Modifier and TypeMethodDescriptionprotected List<InventoryAvailabilityRequest>
DefaultInventoryAvailabilityService.buildInventoryAvailabilityRequests
(@NonNull Map<String, Integer> requestedQuantitiesPerSku, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItemList<I> catalogItemList, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hook point for building the request object being sent to theinventory provider
.protected void
DefaultInventoryAvailabilityService.checkInternalInventoryAvailability
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, I catalogItem, @NonNull CatalogItemList<I> catalogItems, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Checks the inventory-related fields in the catalog data to determine whether or not the item is available.protected void
DefaultInventoryAvailabilityService.checkInventoryAvailability
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, I catalogItem, @NonNull CatalogItemList<I> catalogItemList, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Checks the inventory of the cart item.void
DefaultInventoryAvailabilityService.checkInventoryAvailability
(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItemList<I> catalogItemList, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) void
InventoryAvailabilityService.checkInventoryAvailability
(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.cart.client.domain.CartItem cartItem, CatalogItemList<I> catalogItemList, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Checks the inventory of the cart item.DefaultInventoryAvailabilityService.getRequestedQuantitiesPerSku
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, I catalogItem, @NonNull CatalogItemList<I> catalogItemList, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines the quantity per sku requested by thiscart item
and its dependent items.protected void
DefaultInventoryAvailabilityService.handleInventoryCheckWithoutCatalogItem
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull CatalogItemList<I> catalogItemList, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determine how to handle inventory checks when there is no backingcatalog item
for thecart item
in this request.DefaultInventoryAvailabilityService.identifyCatalogItemForCartItem
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItemList<I> catalogItemList) protected boolean
DefaultInventoryAvailabilityService.shouldCheckInventoryForCartItem
(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, I catalogItem, @NonNull CatalogItemList<I> catalogItemList, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hook point to determine if inventory should be checked for the CartItem.protected boolean
DefaultInventoryAvailabilityService.shouldCheckInventoryForCartItemWithoutBackingCatalogItem
(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull CatalogItemList<I> catalogItemList, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hook point to determine if inventory should be checked for theCartItem
since it doesn't have a backingCatalogItem
.protected void
DefaultInventoryAvailabilityService.verifySkuAvailability
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, I catalogItem, @NonNull CatalogItemList<I> catalogItems, @NonNull Map<String, Boolean> availabilityMap, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Checks the inventory availability response map against the cart item, and determines if the cart item and its dependent items are available. -
Uses of CatalogItemList in com.broadleafcommerce.cartoperation.service.mapping
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) -
Uses of CatalogItemList in com.broadleafcommerce.cartoperation.service.pricing
Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.cart.client.domain.Cart
DefaultCartPricingService.applyPricesToCart
(com.broadleafcommerce.cart.client.domain.Cart cart, CatalogItemList<? extends CatalogItem> catalogItemList) -
Uses of CatalogItemList in com.broadleafcommerce.cartoperation.service.provider
Modifier and TypeMethodDescriptiondefault CatalogItemList<P>
CatalogProvider.retrieveCatalogItems
(Collection<CatalogItemRequest> catalogItemRequests, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.default CatalogItemList<P>
CatalogProvider.retrieveCatalogItems
(Collection<CatalogItemRequest> catalogItemRequests, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieve the catalog items for the context information provided.default CatalogItemList<P>
CatalogProvider.retrieveProducts
(Collection<String> productIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of CatalogItemList in com.broadleafcommerce.cartoperation.service.provider.external
Modifier and TypeMethodDescriptionExternalCatalogProvider.retrieveCatalogItems
(@NonNull Collection<CatalogItemRequest> catalogItemRequests, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
DefaultCartOperationService.identifyCatalogItemsForUpdateItemRequest(UpdateItemRequest, CartItem, PriceContext, ContextInfo)