Class AbstractInventoryServiceExtensionHandler

java.lang.Object
org.broadleafcommerce.common.extension.AbstractExtensionHandler
org.broadleafcommerce.core.inventory.service.AbstractInventoryServiceExtensionHandler
All Implemented Interfaces:
org.broadleafcommerce.common.extension.ExtensionHandler, InventoryServiceExtensionHandler

public abstract class AbstractInventoryServiceExtensionHandler extends org.broadleafcommerce.common.extension.AbstractExtensionHandler implements InventoryServiceExtensionHandler
  • Field Summary

    Fields inherited from class org.broadleafcommerce.common.extension.AbstractExtensionHandler

    enabled, priority
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    decrementInventory(Map<Sku,Integer> skuQuantities, Map<String,Object> context)
    Usually invoked within the DecrementInventoryActivity to decrement inventory for the Skus that are in skuQuantities
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    incrementInventory(Map<Sku,Integer> skuQuantities, Map<String,Object> context)
     
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    isBlockingAvailabilityOfProduct(Product baseProduct, Product product, org.broadleafcommerce.common.extension.ExtensionResultHolder<Boolean> holder)
    This determines if the missing quantity is critical (blocking) to be added to the cart Usually invoked via the UncacheableDataProcessor to determine the availability of product.
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    isProductBundleAvailable(Product product, int quantity, org.broadleafcommerce.common.extension.ExtensionResultHolder<Boolean> holder)
    Usually invoked via the AdvancedProduct to determine the availability of product bundle.
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    reconcileChangeOrderInventory(Map<Sku,Integer> decrementSkuQuantities, Map<Sku,Integer> incrementSkuQuantities, Map<String,Object> context)
    Usually invoked via the OMS ReconcileInventoryChangeOrderActivity to determine how to handle a change order.
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    retrieveQuantitiesAvailable(Collection<Sku> skus, Map<String,Object> context, org.broadleafcommerce.common.extension.ExtensionResultHolder<Map<Sku,Integer>> result)
    Usually invoked within the CheckAddAvailabilityActivity to retrieve the quantity that is available for the given skus.

    Methods inherited from class org.broadleafcommerce.common.extension.AbstractExtensionHandler

    getPriority, isEnabled, setEnabled, setPriority

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.broadleafcommerce.common.extension.ExtensionHandler

    getPriority, isEnabled