Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
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
|
protected ConvertColumnToString ( object columnValue ) : string | ||
columnValue | object | |
return | string |
protected GetColumnIndex ( string properties, string columnName ) : int | ||
properties | string | |
columnName | string | |
return | int |
protected GetMimeTypeFromFilePath ( string filePath ) : string | ||
filePath | string | |
return | string |
public ImportCategoryFromXlsx ( Stream stream ) : void | ||
stream | Stream | Stream |
return | void |
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 | |
return | System |
public ImportManufacturerFromXlsx ( Stream stream ) : void | ||
stream | Stream | Stream |
return | void |
public ImportNewsletterSubscribersFromTxt ( Stream stream ) : int | ||
stream | Stream | Stream |
return | int |
public ImportProductsFromXlsx ( Stream stream ) : void | ||
stream | Stream | Stream |
return | void |
public ImportStatesFromTxt ( Stream stream ) : int | ||
stream | Stream | Stream |
return | int |
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 |
return | Picture |