Package com.broadleafcommerce.inventory.service
package com.broadleafcommerce.inventory.service
-
ClassDescriptionDefaultInventoryLocationService<L extends InventoryLocation>Service to store and retrieve
InventoryLocation
data.Service to save / retrieveInventoryTransaction
records.Default implementation that returns aSkuReferenceFieldType
from aString
.DefaultSkuInventoryAdjustmentService<I extends SkuInventory>This component is responsible for reading, locking, and adjustingSkuInventory
records, as well as for creating hard and soft inventory reservations.The default strategy for reading inventory for browsing and for the purpose of inventory reservations.Helps with sorting lists ofSkuInventory
objects by ID.DefaultSkuInventoryService<I extends SkuInventory>Service to assist in reading and/or adjustingSkuInventory
.Provides summary (browsing) data forSkuInventory
.Default component that sends stock change notifications via Spring Cloud Stream.Provides a comparator to order update items by their ID to avoid deadlocks in RDBMS systems where multiple updates occur with pessimistic locking inside a single transaction.Internal JVM event analogous toConsolidatedInventoryAvailability
Spring Cloud Stream message.InventoryLocationService<L extends InventoryLocation>Service to provide business logic / data access related toInventoryLocation
references.InventoryTransactionService<T extends InventoryTransaction>Service to save and retrieveInventoryTransaction
records.Utility to determine theSkuReferenceFieldType
of aString
value.SkuInventoryAdjustmentService<I extends SkuInventory>This service handles serializing updates to individualSkuInventory
records.SkuInventoryAvailabilityStrategy<I extends SkuInventory>Implementors of this interface provide logic to retrieve inventory availability for browsing and for decrementingSkuInventory
associated with Soft and Hard inventory reservations.SkuInventoryService<I extends SkuInventory>Service API for adjustingSkuInventory
.Service to findSkuInventory
summary data (e.g.Component to notify other systems or processes that stock for a SKU has become available or unavailable for a tenant or application.