Class SkuInventoryDefaultsInitializer

java.lang.Object
com.broadleafcommerce.inventory.dataimport.SkuInventoryDefaultsInitializer
All Implemented Interfaces:
com.broadleafcommerce.common.dataimport.util.DefaultsInitializer<SkuInventory>

public class SkuInventoryDefaultsInitializer extends Object implements com.broadleafcommerce.common.dataimport.util.DefaultsInitializer<SkuInventory>
Provides a hook point for initializing default variables after mapping from a flat file, especially when fields are left null and should have a default value.
Author:
Kelly Tisdell (ktisdell)
  • Constructor Details

    • SkuInventoryDefaultsInitializer

      public SkuInventoryDefaultsInitializer()
  • Method Details

    • initializeDefaults

      public SkuInventory initializeDefaults(SkuInventory created)
      Specified by:
      initializeDefaults in interface com.broadleafcommerce.common.dataimport.util.DefaultsInitializer<SkuInventory>