C# 클래스 Nop.Services.ExportImport.ImportManager

Import manager
상속: IImportManager
파일 보기 프로젝트 열기: grandnode/grandnode

공개 메소드들

메소드 설명
ImportCategoryFromXlsx ( Stream stream ) : void

Import categories from XLSX file

ImportManager ( IProductService productService, ICategoryService categoryService, IManufacturerService manufacturerService, IPictureService pictureService, IUrlRecordService urlRecordService, IStoreContext storeContext, INewsLetterSubscriptionService newsLetterSubscriptionService, ICountryService countryService, IStateProvinceService stateProvinceService ) : System
ImportManufacturerFromXlsx ( Stream stream ) : void

Import manufacturers from XLSX file

ImportNewsletterSubscribersFromTxt ( Stream stream ) : int

Import newsletter subscribers from TXT file

ImportProductsFromXlsx ( Stream stream ) : void

Import products from XLSX file

ImportStatesFromTxt ( Stream stream ) : int

Import states from TXT file

보호된 메소드들

메소드 설명
ConvertColumnToString ( object columnValue ) : string
GetColumnIndex ( string properties, string columnName ) : int
GetMimeTypeFromFilePath ( string filePath ) : string
LoadPicture ( string picturePath, string name, int picId = null ) : Picture

Creates or loads the image

메소드 상세

ConvertColumnToString() 보호된 메소드

protected ConvertColumnToString ( object columnValue ) : string
columnValue object
리턴 string

GetColumnIndex() 보호된 메소드

protected GetColumnIndex ( string properties, string columnName ) : int
properties string
columnName string
리턴 int

GetMimeTypeFromFilePath() 보호된 메소드

protected GetMimeTypeFromFilePath ( string filePath ) : string
filePath string
리턴 string

ImportCategoryFromXlsx() 공개 메소드

Import categories from XLSX file
public ImportCategoryFromXlsx ( Stream stream ) : void
stream Stream Stream
리턴 void

ImportManager() 공개 메소드

public ImportManager ( IProductService productService, ICategoryService categoryService, IManufacturerService manufacturerService, IPictureService pictureService, IUrlRecordService urlRecordService, IStoreContext storeContext, INewsLetterSubscriptionService newsLetterSubscriptionService, ICountryService countryService, IStateProvinceService stateProvinceService ) : System
productService IProductService
categoryService ICategoryService
manufacturerService IManufacturerService
pictureService IPictureService
urlRecordService IUrlRecordService
storeContext IStoreContext
newsLetterSubscriptionService INewsLetterSubscriptionService
countryService ICountryService
stateProvinceService IStateProvinceService
리턴 System

ImportManufacturerFromXlsx() 공개 메소드

Import manufacturers from XLSX file
public ImportManufacturerFromXlsx ( Stream stream ) : void
stream Stream Stream
리턴 void

ImportNewsletterSubscribersFromTxt() 공개 메소드

Import newsletter subscribers from TXT file
public ImportNewsletterSubscribersFromTxt ( Stream stream ) : int
stream Stream Stream
리턴 int

ImportProductsFromXlsx() 공개 메소드

Import products from XLSX file
public ImportProductsFromXlsx ( Stream stream ) : void
stream Stream Stream
리턴 void

ImportStatesFromTxt() 공개 메소드

Import states from TXT file
public ImportStatesFromTxt ( Stream stream ) : int
stream Stream Stream
리턴 int

LoadPicture() 보호된 메소드

Creates or loads the image
protected LoadPicture ( string picturePath, string name, int picId = null ) : Picture
picturePath string The path to the image file
name string The name of the object
picId int Image identifier, may be null
리턴 Picture