C# Class Bukimedia.PrestaSharp.Factories.ImageFactory

Inheritance: RestSharpFactory
Afficher le fichier Open project: Bukimedia/PrestaSharp Class Usage Examples

Méthodes publiques

Méthode Description
AddCategoryImage ( long CategoryId, byte CategoryImage ) : void
AddCategoryImage ( long CategoryId, string CategoryImagePath ) : void
AddManufacturerImage ( long ManufacturerId, byte ManufacturerImage ) : void
AddManufacturerImage ( long ManufacturerId, string ManufacturerImagePath ) : void
AddProductImage ( long ProductId, byte ProductImage ) : void
AddProductImage ( long ProductId, string ProductImagePath ) : void
DeleteCategoryImage ( long CategoryID ) : void
DeleteManufacturerImage ( long ManufacturerId ) : void
DeleteProductImage ( long ProductId, long ImageId ) : void
GetAllCategoryImages ( ) : List
GetAllManufacturerImages ( ) : List
GetAllProductImages ( ) : List
GetCategoryImage ( long CategoryId, long ImageId ) : byte[]
GetManufacturerImage ( long ManufacturerId, long ImageId ) : byte[]
GetProductImage ( long ProductId, long ImageId ) : byte[]
GetProductImages ( long ProductId ) : List
ImageFactory ( string BaseUrl, string Account, string SecretKey ) : System
UpdateCategoryImage ( long CategoryId, string CategoryImagePath ) : void
UpdateManufacturerImage ( long ManufacturerId, string ManufacturerImagePath ) : void
UpdateProductImage ( long ProductId, long ImageId, string ProductImagePath ) : void

Méthodes protégées

Méthode Description
AddImage ( string Resource, long Id, byte Image ) : void
AddImage ( string Resource, long Id, string ImagePath ) : void
DeleteImage ( string Resource, long ResourceId, long ImageId ) : void
GetAllImages ( string Resource ) : List
GetImagesByInstance ( string Resource, long Id ) : List
UpdateImage ( string Resource, long ResourceId, long ImageId, string ImagePath ) : void

Method Details

AddCategoryImage() public méthode

public AddCategoryImage ( long CategoryId, byte CategoryImage ) : void
CategoryId long
CategoryImage byte
Résultat void

AddCategoryImage() public méthode

public AddCategoryImage ( long CategoryId, string CategoryImagePath ) : void
CategoryId long
CategoryImagePath string
Résultat void

AddImage() protected méthode

protected AddImage ( string Resource, long Id, byte Image ) : void
Resource string
Id long
Image byte
Résultat void

AddImage() protected méthode

protected AddImage ( string Resource, long Id, string ImagePath ) : void
Resource string
Id long
ImagePath string
Résultat void

AddManufacturerImage() public méthode

public AddManufacturerImage ( long ManufacturerId, byte ManufacturerImage ) : void
ManufacturerId long
ManufacturerImage byte
Résultat void

AddManufacturerImage() public méthode

public AddManufacturerImage ( long ManufacturerId, string ManufacturerImagePath ) : void
ManufacturerId long
ManufacturerImagePath string
Résultat void

AddProductImage() public méthode

public AddProductImage ( long ProductId, byte ProductImage ) : void
ProductId long
ProductImage byte
Résultat void

AddProductImage() public méthode

public AddProductImage ( long ProductId, string ProductImagePath ) : void
ProductId long
ProductImagePath string
Résultat void

DeleteCategoryImage() public méthode

public DeleteCategoryImage ( long CategoryID ) : void
CategoryID long
Résultat void

DeleteImage() protected méthode

protected DeleteImage ( string Resource, long ResourceId, long ImageId ) : void
Resource string
ResourceId long
ImageId long
Résultat void

DeleteManufacturerImage() public méthode

public DeleteManufacturerImage ( long ManufacturerId ) : void
ManufacturerId long
Résultat void

DeleteProductImage() public méthode

public DeleteProductImage ( long ProductId, long ImageId ) : void
ProductId long
ImageId long
Résultat void

GetAllCategoryImages() public méthode

public GetAllCategoryImages ( ) : List
Résultat List

GetAllImages() protected méthode

protected GetAllImages ( string Resource ) : List
Resource string
Résultat List

GetAllManufacturerImages() public méthode

public GetAllManufacturerImages ( ) : List
Résultat List

GetAllProductImages() public méthode

public GetAllProductImages ( ) : List
Résultat List

GetCategoryImage() public méthode

public GetCategoryImage ( long CategoryId, long ImageId ) : byte[]
CategoryId long
ImageId long
Résultat byte[]

GetImagesByInstance() protected méthode

protected GetImagesByInstance ( string Resource, long Id ) : List
Resource string
Id long
Résultat List

GetManufacturerImage() public méthode

public GetManufacturerImage ( long ManufacturerId, long ImageId ) : byte[]
ManufacturerId long
ImageId long
Résultat byte[]

GetProductImage() public méthode

public GetProductImage ( long ProductId, long ImageId ) : byte[]
ProductId long
ImageId long
Résultat byte[]

GetProductImages() public méthode

public GetProductImages ( long ProductId ) : List
ProductId long
Résultat List

ImageFactory() public méthode

public ImageFactory ( string BaseUrl, string Account, string SecretKey ) : System
BaseUrl string
Account string
SecretKey string
Résultat System

UpdateCategoryImage() public méthode

public UpdateCategoryImage ( long CategoryId, string CategoryImagePath ) : void
CategoryId long
CategoryImagePath string
Résultat void

UpdateImage() protected méthode

protected UpdateImage ( string Resource, long ResourceId, long ImageId, string ImagePath ) : void
Resource string
ResourceId long
ImageId long
ImagePath string
Résultat void

UpdateManufacturerImage() public méthode

public UpdateManufacturerImage ( long ManufacturerId, string ManufacturerImagePath ) : void
ManufacturerId long
ManufacturerImagePath string
Résultat void

UpdateProductImage() public méthode

public UpdateProductImage ( long ProductId, long ImageId, string ProductImagePath ) : void
ProductId long
ImageId long
ProductImagePath string
Résultat void