C# Class Nop.Plugin.Feed.Froogle.FroogleService

Inheritance: Nop.Core.Plugins.BasePlugin, IMiscPlugin
显示文件 Open project: emilianionascu/NopCommerce

Public Methods

Method Description
FroogleService ( IScheduleTaskService scheduleTaskService, IGoogleService googleService, IProductService productService, ICategoryService categoryService, IManufacturerService manufacturerService, IPictureService pictureService, ICurrencyService currencyService, IWebHelper webHelper, ISettingService settingService, IWorkContext workContext, IMeasureService measureService, Nop.Core.Domain.Directory.MeasureSettings measureSettings, Nop.Core.Domain.StoreInformationSettings storeInformationSettings, FroogleSettings froogleSettings, Nop.Core.Domain.Directory.CurrencySettings currencySettings, GoogleProductObjectContext objectContext ) : System
GenerateFeed ( Stream stream ) : void

Generate a feed

GenerateStaticFile ( ) : void

Generate a static file for froogle

GetConfigurationRoute ( string &actionName, string &controllerName, RouteValueDictionary &routeValues ) : void

Gets a route for provider configuration

Install ( ) : void

Install plugin

Uninstall ( ) : void

Uninstall plugin

Private Methods

Method Description
FindScheduledTask ( ) : Nop.Core.Domain.Tasks.ScheduleTask
GetCategoryBreadCrumb ( Category category ) : IList
GetUsedCurrency ( ) : Currency
StripInvalidChars ( string input, bool isHtmlEncoded ) : string

Removes invalid characters

Method Details

FroogleService() public method

public FroogleService ( IScheduleTaskService scheduleTaskService, IGoogleService googleService, IProductService productService, ICategoryService categoryService, IManufacturerService manufacturerService, IPictureService pictureService, ICurrencyService currencyService, IWebHelper webHelper, ISettingService settingService, IWorkContext workContext, IMeasureService measureService, Nop.Core.Domain.Directory.MeasureSettings measureSettings, Nop.Core.Domain.StoreInformationSettings storeInformationSettings, FroogleSettings froogleSettings, Nop.Core.Domain.Directory.CurrencySettings currencySettings, GoogleProductObjectContext objectContext ) : System
scheduleTaskService IScheduleTaskService
googleService IGoogleService
productService IProductService
categoryService ICategoryService
manufacturerService IManufacturerService
pictureService IPictureService
currencyService ICurrencyService
webHelper IWebHelper
settingService ISettingService
workContext IWorkContext
measureService IMeasureService
measureSettings Nop.Core.Domain.Directory.MeasureSettings
storeInformationSettings Nop.Core.Domain.StoreInformationSettings
froogleSettings FroogleSettings
currencySettings Nop.Core.Domain.Directory.CurrencySettings
objectContext GoogleProductObjectContext
return System

GenerateFeed() public method

Generate a feed
public GenerateFeed ( Stream stream ) : void
stream Stream Stream
return void

GenerateStaticFile() public method

Generate a static file for froogle
public GenerateStaticFile ( ) : void
return void

GetConfigurationRoute() public method

Gets a route for provider configuration
public GetConfigurationRoute ( string &actionName, string &controllerName, RouteValueDictionary &routeValues ) : void
actionName string Action name
controllerName string Controller name
routeValues RouteValueDictionary Route values
return void

Install() public method

Install plugin
public Install ( ) : void
return void

Uninstall() public method

Uninstall plugin
public Uninstall ( ) : void
return void