C# Class Nop.Admin.Controllers.CategoryController

Inheritance: Nop.Admin.Controllers.BaseAdminController
Show file Open project: grandnode/grandnode Class Usage Examples

Public Methods

Method Description
CategoryController ( ICategoryService categoryService, ICategoryTemplateService categoryTemplateService, IManufacturerService manufacturerService, IProductService productService, ICustomerService customerService, IUrlRecordService urlRecordService, IPictureService pictureService, ILanguageService languageService, ILocalizationService localizationService, IDiscountService discountService, IPermissionService permissionService, IAclService aclService, IStoreService storeService, IStoreMappingService storeMappingService, IExportManager exportManager, IVendorService vendorService, ICustomerActivityService customerActivityService, IDateTimeHelper dateTimeHelper, IWorkContext workContext, IImportManager importManager, Nop.Core.Domain.Catalog.CatalogSettings catalogSettings ) : System
Create ( ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
ExportXlsx ( ) : System.Web.Mvc.ActionResult
ExportXml ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
List ( ) : System.Web.Mvc.ActionResult
ProductAddPopup ( int categoryId ) : System.Web.Mvc.ActionResult
ProductDelete ( int id, int productId ) : System.Web.Mvc.ActionResult
ProductUpdate ( CategoryModel model ) : System.Web.Mvc.ActionResult
Tree ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Create ( CategoryModel model, bool continueEditing ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Edit ( CategoryModel model, bool continueEditing ) : System.Web.Mvc.ActionResult
ImportFromXlsx ( ) : System.Web.Mvc.ActionResult
List ( Nop.Web.Framework.Kendoui.DataSourceRequest command, Nop.Admin.Models.Catalog.CategoryListModel model ) : System.Web.Mvc.ActionResult
ListActivityLog ( Nop.Web.Framework.Kendoui.DataSourceRequest command, int categoryId ) : System.Web.Mvc.ActionResult
PrepareAclModel ( CategoryModel model, Category category, bool excludeProperties ) : void
PrepareAllCategoriesModel ( CategoryModel model ) : void
PrepareDiscountModel ( CategoryModel model, Category category, bool excludeProperties ) : void
PrepareStoresMappingModel ( CategoryModel model, Category category, bool excludeProperties ) : void
PrepareTemplatesModel ( CategoryModel model ) : void
ProductAddPopup ( string btnId, string formId, CategoryModel model ) : System.Web.Mvc.ActionResult
ProductAddPopupList ( Nop.Web.Framework.Kendoui.DataSourceRequest command, CategoryModel model ) : System.Web.Mvc.ActionResult
ProductList ( Nop.Web.Framework.Kendoui.DataSourceRequest command, int categoryId ) : System.Web.Mvc.ActionResult
TreeLoadChildren ( int id ) : System.Web.Mvc.ActionResult
UpdateLocales ( Category category, CategoryModel model ) : List
UpdatePictureSeoNames ( Category category ) : void

Method Details

CategoryController() public method

public CategoryController ( ICategoryService categoryService, ICategoryTemplateService categoryTemplateService, IManufacturerService manufacturerService, IProductService productService, ICustomerService customerService, IUrlRecordService urlRecordService, IPictureService pictureService, ILanguageService languageService, ILocalizationService localizationService, IDiscountService discountService, IPermissionService permissionService, IAclService aclService, IStoreService storeService, IStoreMappingService storeMappingService, IExportManager exportManager, IVendorService vendorService, ICustomerActivityService customerActivityService, IDateTimeHelper dateTimeHelper, IWorkContext workContext, IImportManager importManager, Nop.Core.Domain.Catalog.CatalogSettings catalogSettings ) : System
categoryService ICategoryService
categoryTemplateService ICategoryTemplateService
manufacturerService IManufacturerService
productService IProductService
customerService ICustomerService
urlRecordService IUrlRecordService
pictureService IPictureService
languageService ILanguageService
localizationService ILocalizationService
discountService IDiscountService
permissionService IPermissionService
aclService IAclService
storeService IStoreService
storeMappingService IStoreMappingService
exportManager IExportManager
vendorService IVendorService
customerActivityService ICustomerActivityService
dateTimeHelper IDateTimeHelper
workContext IWorkContext
importManager IImportManager
catalogSettings Nop.Core.Domain.Catalog.CatalogSettings
return System

Create() public method

public Create ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Edit() public method

public Edit ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

ExportXlsx() public method

public ExportXlsx ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

ExportXml() public method

public ExportXml ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

List() public method

public List ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

ProductAddPopup() public method

public ProductAddPopup ( int categoryId ) : System.Web.Mvc.ActionResult
categoryId int
return System.Web.Mvc.ActionResult

ProductDelete() public method

public ProductDelete ( int id, int productId ) : System.Web.Mvc.ActionResult
id int
productId int
return System.Web.Mvc.ActionResult

ProductUpdate() public method

public ProductUpdate ( CategoryModel model ) : System.Web.Mvc.ActionResult
model CategoryModel
return System.Web.Mvc.ActionResult

Tree() public method

public Tree ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult