C# Class VirtoCommerce.CatalogModule.Web.ExportImport.CsvCatalogImporter

显示文件 Open project: VirtoCommerce/vc-internal Class Usage Examples

Public Methods

Method Description
CsvCatalogImporter ( ICatalogService catalogService, ICategoryService categoryService, IItemService productService, IPushNotificationManager pushNotificationManager, CacheManager cacheManager, ISkuGenerator skuGenerator, IPricingService pricingService, IInventoryService inventoryService, ICommerceService commerceService, IPropertyService propertyService, ICatalogSearchService searchService ) : System
DoImport ( Stream inputStream, VirtoCommerce.CatalogModule.Web.ExportImport.CsvImportInfo importInfo, Action progressCallback ) : void

Private Methods

Method Description
DetectParents ( IEnumerable csvProducts ) : void
SaveCategoryTree ( VirtoCommerce.Domain.Catalog.Model catalog, IEnumerable csvProducts, VirtoCommerce.Platform.Core.ExportImport.ExportImportProgressInfo progressInfo, Action progressCallback ) : void
SaveProduct ( VirtoCommerce.Domain.Catalog.Model catalog, VirtoCommerce.Domain.Commerce.Model.FulfillmentCenter defaultFulfillmentCenter, VirtoCommerce.CatalogModule.Web.ExportImport.CsvProduct csvProduct ) : void
SaveProducts ( VirtoCommerce.Domain.Catalog.Model catalog, IEnumerable csvProducts, VirtoCommerce.Platform.Core.ExportImport.ExportImportProgressInfo progressInfo, Action progressCallback ) : void

Method Details

CsvCatalogImporter() public method

public CsvCatalogImporter ( ICatalogService catalogService, ICategoryService categoryService, IItemService productService, IPushNotificationManager pushNotificationManager, CacheManager cacheManager, ISkuGenerator skuGenerator, IPricingService pricingService, IInventoryService inventoryService, ICommerceService commerceService, IPropertyService propertyService, ICatalogSearchService searchService ) : System
catalogService ICatalogService
categoryService ICategoryService
productService IItemService
pushNotificationManager IPushNotificationManager
cacheManager CacheManager
skuGenerator ISkuGenerator
pricingService IPricingService
inventoryService IInventoryService
commerceService ICommerceService
propertyService IPropertyService
searchService ICatalogSearchService
return System

DoImport() public method

public DoImport ( Stream inputStream, VirtoCommerce.CatalogModule.Web.ExportImport.CsvImportInfo importInfo, Action progressCallback ) : void
inputStream Stream
importInfo VirtoCommerce.CatalogModule.Web.ExportImport.CsvImportInfo
progressCallback Action
return void