C# Class Nop.Services.ExportImport.ExportManager

Export manager
Inheritance: IExportManager
显示文件 Open project: emilianionascu/NopCommerce

Public Methods

Method Description
ExportCategoriesToXml ( ) : string

Export category list to xml

ExportCustomersToXlsx ( Stream stream, IList customers ) : void

Export customer list to XLSX

ExportCustomersToXml ( IList customers ) : string

Export customer list to xml

ExportManager ( ICategoryService categoryService, IManufacturerService manufacturerService, IProductService productService, IPictureService pictureService, INewsLetterSubscriptionService newsLetterSubscriptionService, Nop.Core.Domain.StoreInformationSettings storeInformationSettings ) : System
ExportManufacturersToXml ( IList manufacturers ) : string

Export manufacturer list to xml

ExportOrdersToXlsx ( Stream stream, IList orders ) : void

Export orders to XLSX

ExportOrdersToXml ( IList orders ) : string

Export order list to xml

ExportProductsToXlsx ( Stream stream, IList products ) : void

Export products to XLSX

ExportProductsToXml ( IList products ) : string

Export product list to xml

Protected Methods

Method Description
WriteCategories ( XmlWriter xmlWriter, int parentCategoryId ) : void

Method Details

ExportCategoriesToXml() public method

Export category list to xml
public ExportCategoriesToXml ( ) : string
return string

ExportCustomersToXlsx() public method

Export customer list to XLSX
public ExportCustomersToXlsx ( Stream stream, IList customers ) : void
stream Stream Stream
customers IList Customers
return void

ExportCustomersToXml() public method

Export customer list to xml
public ExportCustomersToXml ( IList customers ) : string
customers IList Customers
return string

ExportManager() public method

public ExportManager ( ICategoryService categoryService, IManufacturerService manufacturerService, IProductService productService, IPictureService pictureService, INewsLetterSubscriptionService newsLetterSubscriptionService, Nop.Core.Domain.StoreInformationSettings storeInformationSettings ) : System
categoryService ICategoryService
manufacturerService IManufacturerService
productService IProductService
pictureService IPictureService
newsLetterSubscriptionService INewsLetterSubscriptionService
storeInformationSettings Nop.Core.Domain.StoreInformationSettings
return System

ExportManufacturersToXml() public method

Export manufacturer list to xml
public ExportManufacturersToXml ( IList manufacturers ) : string
manufacturers IList Manufacturers
return string

ExportOrdersToXlsx() public method

Export orders to XLSX
public ExportOrdersToXlsx ( Stream stream, IList orders ) : void
stream Stream Stream
orders IList Orders
return void

ExportOrdersToXml() public method

Export order list to xml
public ExportOrdersToXml ( IList orders ) : string
orders IList Orders
return string

ExportProductsToXlsx() public method

Export products to XLSX
public ExportProductsToXlsx ( Stream stream, IList products ) : void
stream Stream Stream
products IList Products
return void

ExportProductsToXml() public method

Export product list to xml
public ExportProductsToXml ( IList products ) : string
products IList Products
return string

WriteCategories() protected method

protected WriteCategories ( XmlWriter xmlWriter, int parentCategoryId ) : void
xmlWriter System.Xml.XmlWriter
parentCategoryId int
return void