public CheckoutAttributeController(ICheckoutAttributeService checkoutAttributeService,
     ILanguageService languageService,
     ILocalizationService localizationService,
     ITaxCategoryService taxCategoryService,
     IWorkContext workContext,
     ICurrencyService currencyService,
     ICustomerActivityService customerActivityService,
     CurrencySettings currencySettings,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     IPermissionService permissionService,
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     ICustomerService customerService,
     IAclService aclService)
 {
     this._checkoutAttributeService = checkoutAttributeService;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._taxCategoryService = taxCategoryService;
     this._workContext = workContext;
     this._currencyService = currencyService;
     this._customerActivityService = customerActivityService;
     this._currencySettings = currencySettings;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
     this._permissionService = permissionService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._customerService = customerService;
     this._aclService = aclService;
 }
示例#2
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="sciRepository">Shopping cart repository</param>
 /// <param name="workContext">Work context</param>
 /// <param name="currencyService">Currency service</param>
 /// <param name="productService">Product settings</param>
 /// <param name="localizationService">Localization service</param>
 /// <param name="productAttributeParser">Product attribute parser</param>
 /// <param name="checkoutAttributeService">Checkout attribute service</param>
 /// <param name="checkoutAttributeParser">Checkout attribute parser</param>
 /// <param name="priceFormatter">Price formatter</param>
 /// <param name="customerService">Customer service</param>
 /// <param name="shoppingCartSettings">Shopping cart settings</param>
 /// <param name="eventPublisher">Event publisher</param>
 /// <param name="permissionService">Permission service</param>
 /// <param name="aclService">ACL service</param>
 public ShoppingCartService(IRepository<ShoppingCartItem> sciRepository,
     IWorkContext workContext, ICurrencyService currencyService,
     IProductService productService, ILocalizationService localizationService,
     IProductAttributeParser productAttributeParser,
     ICheckoutAttributeService checkoutAttributeService,
     ICheckoutAttributeParser checkoutAttributeParser,
     IPriceFormatter priceFormatter,
     ICustomerService customerService,
     ShoppingCartSettings shoppingCartSettings,
     IEventPublisher eventPublisher,
     IPermissionService permissionService, 
     IAclService aclService)
 {
     this._sciRepository = sciRepository;
     this._workContext = workContext;
     this._currencyService = currencyService;
     this._productService = productService;
     this._localizationService = localizationService;
     this._productAttributeParser = productAttributeParser;
     this._checkoutAttributeService = checkoutAttributeService;
     this._checkoutAttributeParser = checkoutAttributeParser;
     this._priceFormatter = priceFormatter;
     this._customerService = customerService;
     this._shoppingCartSettings = shoppingCartSettings;
     this._eventPublisher = eventPublisher;
     this._permissionService = permissionService;
     this._aclService = aclService;
 }
        /// <summary>
        /// Ctor
        /// </summary>
        /// <param name="cacheManager">Cache manager</param>
        /// <param name="categoryRepository">Category repository</param>
        /// <param name="productCategoryRepository">ProductCategory repository</param>
        /// <param name="productRepository">Product repository</param>
        /// <param name="aclRepository">ACL record repository</param>
		/// <param name="storeMappingRepository">Store mapping repository</param>
        /// <param name="workContext">Work context</param>
		/// <param name="storeContext">Store context</param>
        /// <param name="eventPublisher">Event publisher</param>
        public CategoryService(ICacheManager cacheManager,
            IRepository<Category> categoryRepository,
            IRepository<ProductCategory> productCategoryRepository,
            IRepository<Product> productRepository,
            IRepository<AclRecord> aclRepository,
			IRepository<StoreMapping> storeMappingRepository,
            IWorkContext workContext,
			IStoreContext storeContext,
            IEventPublisher eventPublisher,
			IStoreMappingService storeMappingService,
			IAclService aclService,
            Lazy<IEnumerable<ICategoryNavigationFilter>> navigationFilters,
            ICustomerService customerService,
            IProductService productService,
            IStoreService storeService)
        {
            this._cacheManager = cacheManager;
            this._categoryRepository = categoryRepository;
            this._productCategoryRepository = productCategoryRepository;
            this._productRepository = productRepository;
            this._aclRepository = aclRepository;
			this._storeMappingRepository = storeMappingRepository;
            this._workContext = workContext;
			this._storeContext = storeContext;
            this._eventPublisher = eventPublisher;
			this._storeMappingService = storeMappingService;
			this._aclService = aclService;
            this._navigationFilters = navigationFilters;
            this._customerService = customerService;
            this._productService = productService;
            this._storeService = storeService;

			this.QuerySettings = DbQuerySettings.Default;
        }
 public MiscFacebookShopController(IAclService aclService,
     ICacheManager cacheManager,
     CatalogSettings catalogSettings,
     ICategoryService categoryService,
     ICurrencyService currencyService,
     ILocalizationService localizationService,
     IPermissionService permissionService,
     IPictureService pictureService,
     IPriceCalculationService priceCalculationService,
     IPriceFormatter priceFormatter,
     IProductService productService,
     IStoreContext storeContext,
     IStoreMappingService storeMappingService,
     ITaxService taxService,
     IWorkContext workContext)
 {
     this._aclService = aclService;
     this._cacheManager = cacheManager;
     this._catalogSettings = catalogSettings;
     this._categoryService = categoryService;
     this._currencyService = currencyService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._pictureService = pictureService;
     this._priceCalculationService = priceCalculationService;
     this._priceFormatter = priceFormatter;
     this._productService = productService;
     this._storeContext = storeContext;
     this._storeMappingService = storeMappingService;
     this._taxService = taxService;
     this._workContext = workContext;
 }
 public ManufacturerController(ICategoryService categoryService, IManufacturerService manufacturerService,
     IManufacturerTemplateService manufacturerTemplateService, IProductService productService,
     ICustomerService customerService, IStoreService storeService,
     IStoreMappingService storeMappingService,
     IUrlRecordService urlRecordService, IPictureService pictureService,
     ILanguageService languageService, ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService, IExportManager exportManager,
     ICustomerActivityService customerActivityService, IAclService aclService, 
     IPermissionService permissionService,
     AdminAreaSettings adminAreaSettings, CatalogSettings catalogSettings)
 {
     this._categoryService = categoryService;
     this._manufacturerTemplateService = manufacturerTemplateService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._customerService = customerService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._urlRecordService = urlRecordService;
     this._pictureService = pictureService;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._exportManager = exportManager;
     this._customerActivityService = customerActivityService;
     this._aclService = aclService;
     this._permissionService = permissionService;
     this._adminAreaSettings = adminAreaSettings;
     this._catalogSettings = catalogSettings;
 }
 public CategoryController(ICategoryService categoryService, ICategoryTemplateService categoryTemplateService,
     IManufacturerService manufacturerService, IProductService productService, 
     ICustomerService customerService,
     IUrlRecordService urlRecordService, IPictureService pictureService, ILanguageService languageService,
     ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
     IDiscountService discountService, IPermissionService permissionService,
     IAclService aclService,
     IExportManager exportManager, IWorkContext workContext,
     ICustomerActivityService customerActivityService, AdminAreaSettings adminAreaSettings,
     CatalogSettings catalogSettings)
 {
     this._categoryService = categoryService;
     this._categoryTemplateService = categoryTemplateService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._customerService = customerService;
     this._urlRecordService = urlRecordService;
     this._pictureService = pictureService;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._discountService = discountService;
     this._permissionService = permissionService;
     this._aclService = aclService;
     this._exportManager = exportManager;
     this._workContext = workContext;
     this._customerActivityService = customerActivityService;
     this._adminAreaSettings = adminAreaSettings;
     this._catalogSettings = catalogSettings;
 }
示例#7
0
 public TopicController(ITopicService topicService,
     ILanguageService languageService,
     ILocalizedEntityService localizedEntityService, 
     ILocalizationService localizationService,
     IPermissionService permissionService, 
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IUrlRecordService urlRecordService,
     ITopicTemplateService topicTemplateService,
     ICustomerService customerService,
     ICustomerActivityService customerActivityService,
     IAclService aclService)
 {
     this._topicService = topicService;
     this._languageService = languageService;
     this._localizedEntityService = localizedEntityService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._urlRecordService = urlRecordService;
     this._topicTemplateService = topicTemplateService;
     this._customerService = customerService;
     this._customerActivityService = customerActivityService;
     this._aclService = aclService;
 }
示例#8
0
        /// <summary>
        /// Get category breadcrumb 
        /// </summary>
        /// <param name="category">Category</param>
        /// <param name="categoryService">Category service</param>
        /// <param name="aclService">ACL service</param>
        /// <param name="storeMappingService">Store mapping service</param>
        /// <param name="showHidden">A value indicating whether to load hidden records</param>
        /// <returns>Category breadcrumb </returns>
        public static IList<Category> GetCategoryBreadCrumb(this Category category,
            ICategoryService categoryService,
            IAclService aclService,
            IStoreMappingService storeMappingService,
            bool showHidden = false)
        {
            if (category == null)
                throw new ArgumentNullException("category");

            var result = new List<Category>();

            //used to prevent circular references
            var alreadyProcessedCategoryIds = new List<int>();

            while (category != null && //not null
                !category.Deleted && //not deleted
                (showHidden || category.Published) && //published
                (showHidden || aclService.Authorize(category)) && //ACL
                (showHidden || storeMappingService.Authorize(category)) && //Store mapping
                !alreadyProcessedCategoryIds.Contains(category.Id)) //prevent circular references
            {
                result.Add(category);

                alreadyProcessedCategoryIds.Add(category.Id);

                category = categoryService.GetCategoryById(category.ParentCategoryId);
            }
            result.Reverse();
            return result;
        }
 public ShoppingCartService(IRepository<ShoppingCartItem> sciRepository,
     IWorkContext workContext, IStoreContext storeContext,
     ICurrencyService currencyService,
     IProductService productService, ILocalizationService localizationService,
     IProductAttributeParser productAttributeParser,
     global::Nop.Services.Orders.ICheckoutAttributeService checkoutAttributeService,
     global::Nop.Services.Orders.ICheckoutAttributeParser checkoutAttributeParser,
     IPriceFormatter priceFormatter,
     ICustomerService customerService,
     ShoppingCartSettings shoppingCartSettings,
     IEventPublisher eventPublisher,
     IPermissionService permissionService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IGenericAttributeService genericAttributeService,
     IProductAttributeService productAttributeService,
     PromoSettings promoSettings) :
     base( sciRepository,
         workContext,
         storeContext,
         currencyService,
         productService,
         localizationService,
         productAttributeParser,
         checkoutAttributeService,
         checkoutAttributeParser,
         priceFormatter,
         customerService,
         shoppingCartSettings,
         eventPublisher,
         permissionService,
         aclService,
         storeMappingService,
         genericAttributeService,
         productAttributeService)
 {
     this._sciRepository = sciRepository;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._currencyService = currencyService;
     this._productService = productService;
     this._localizationService = localizationService;
     this._productAttributeParser = productAttributeParser;
     this._checkoutAttributeService = checkoutAttributeService;
     this._checkoutAttributeParser = checkoutAttributeParser;
     this._priceFormatter = priceFormatter;
     this._customerService = customerService;
     this._shoppingCartSettings = shoppingCartSettings;
     this._eventPublisher = eventPublisher;
     this._permissionService = permissionService;
     this._aclService = aclService;
     this._storeMappingService = storeMappingService;
     this._genericAttributeService = genericAttributeService;
     this._productAttributeService = productAttributeService;
     this._promoSettings = promoSettings;
 }
 public SelectSellController(IProductService productService,
     IProductTemplateService productTemplateService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService,
     IWorkContext workContext,
     ILanguageService languageService,
     ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService,
     IPictureService pictureService,
     ITaxCategoryService taxCategoryService,
     IProductTagService productTagService,
     ICopyProductService copyProductService,
     IPdfService pdfService,
     IExportManager exportManager,
     IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService,
     IAclService aclService,
     IStoreService storeService,
     IOrderService orderService,
     IStoreMappingService storeMappingService,
     IVendorService vendorService,
     IShippingService shippingService,
     IShipmentService shipmentService,
     ICurrencyService currencyService,
     CurrencySettings currencySettings,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     AdminAreaSettings adminAreaSettings,
     IDateTimeHelper dateTimeHelper,
     IDiscountService discountService,
     IProductAttributeService productAttributeService,
     IBackInStockSubscriptionService backInStockSubscriptionService,
     IShoppingCartService shoppingCartService,
     IProductAttributeFormatter productAttributeFormatter,
     IProductAttributeParser productAttributeParser,
     IDownloadService downloadService,
     IStoreContext storeContext,
     IRepository<StoreMapping> storeMapping)
 {
     _workContext = workContext;
     _productService = productService;
     _pictureService = pictureService;
     _localizationService = localizationService;
     _categoryService = categoryService;
     _manufacturerService = manufacturerService;
     _storeService = storeService;
     _shippingService = shippingService;
     _vendorService = vendorService;
     _storeMappingService = storeMappingService;
     _storeContext = storeContext;
     _storeMapping = storeMapping;
 }
 public MtProductService(ICacheManager cacheManager,
     IRepository<Product> productRepository,
     IRepository<RelatedProduct> relatedProductRepository,
     IRepository<CrossSellProduct> crossSellProductRepository,
     IRepository<TierPrice> tierPriceRepository,
     IRepository<ProductPicture> productPictureRepository,
     IRepository<LocalizedProperty> localizedPropertyRepository,
     IRepository<AclRecord> aclRepository,
     IRepository<StoreMapping> storeMappingRepository,
     IRepository<ProductSpecificationAttribute> productSpecificationAttributeRepository,
     IRepository<ProductReview> productReviewRepository,
     IRepository<ProductWarehouseInventory> productWarehouseInventoryRepository,
     IProductAttributeService productAttributeService,
     IProductAttributeParser productAttributeParser,
     ILanguageService languageService,
     IWorkflowMessageService workflowMessageService,
     IDataProvider dataProvider,
     IDbContext dbContext,
     IWorkContext workContext,
     IStoreContext storeContext,
     LocalizationSettings localizationSettings,
     CommonSettings commonSettings,
     CatalogSettings catalogSettings,
     IEventPublisher eventPublisher,
     IAclService aclService,
     IStoreMappingService storeMappingService)
 {
     this._cacheManager = cacheManager;
     this._productRepository = productRepository;
     this._relatedProductRepository = relatedProductRepository;
     this._crossSellProductRepository = crossSellProductRepository;
     this._tierPriceRepository = tierPriceRepository;
     this._productPictureRepository = productPictureRepository;
     this._localizedPropertyRepository = localizedPropertyRepository;
     this._aclRepository = aclRepository;
     this._storeMappingRepository = storeMappingRepository;
     this._productSpecificationAttributeRepository = productSpecificationAttributeRepository;
     this._productReviewRepository = productReviewRepository;
     this._productWarehouseInventoryRepository = productWarehouseInventoryRepository;
     this._productAttributeService = productAttributeService;
     this._productAttributeParser = productAttributeParser;
     this._languageService = languageService;
     this._workflowMessageService = workflowMessageService;
     this._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._localizationSettings = localizationSettings;
     this._commonSettings = commonSettings;
     this._catalogSettings = catalogSettings;
     this._eventPublisher = eventPublisher;
     this._aclService = aclService;
     this._storeMappingService = storeMappingService;
 }
        public CatalogController(
			ICommonServices services,
			ICategoryService categoryService,
            IManufacturerService manufacturerService, 
			IProductService productService,
            ICategoryTemplateService categoryTemplateService,
            IManufacturerTemplateService manufacturerTemplateService,
			ICurrencyService currencyService,
			IOrderReportService orderReportService,
			IProductTagService productTagService,
			IRecentlyViewedProductsService recentlyViewedProductsService,
            IPictureService pictureService,
            IPriceFormatter priceFormatter,
            ISpecificationAttributeService specificationAttributeService,
			ICompareProductsService compareProductsService,
			IGenericAttributeService genericAttributeService,
			IAclService aclService,
			IStoreMappingService storeMappingService,
            MediaSettings mediaSettings, 
			CatalogSettings catalogSettings,
			IFilterService filterService,
 			CatalogHelper helper)
        {
            this._services = services;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._productService = productService;
            this._categoryTemplateService = categoryTemplateService;
            this._manufacturerTemplateService = manufacturerTemplateService;
            this._currencyService = currencyService;
            this._orderReportService = orderReportService;
            this._productTagService = productTagService;
            this._recentlyViewedProductsService = recentlyViewedProductsService;
            this._compareProductsService = compareProductsService;
            this._pictureService = pictureService;
            this._priceFormatter = priceFormatter;
            this._specificationAttributeService = specificationAttributeService;
            this._genericAttributeService = genericAttributeService;
            this._aclService = aclService;
            this._storeMappingService = storeMappingService;
            this._filterService = filterService;
            this._mediaSettings = mediaSettings;
            this._catalogSettings = catalogSettings;

            this._helper = helper;

            T = NullLocalizer.Instance;
        }
 public ProductController(IProductService productService, 
     IProductTemplateService productTemplateService,
     ICategoryService categoryService, IManufacturerService manufacturerService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService, IWorkContext workContext, ILanguageService languageService, 
     ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService, IPictureService pictureService,
     ITaxCategoryService taxCategoryService, IProductTagService productTagService,
     ICopyProductService copyProductService, IPdfService pdfService,
     IExportManager exportManager, IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService, IAclService aclService,
     IStoreService storeService, IStoreMappingService storeMappingService,
     ICurrencyService currencyService, CurrencySettings currencySettings,
     IMeasureService measureService, MeasureSettings measureSettings,
     PdfSettings pdfSettings, AdminAreaSettings adminAreaSettings)
 {
     this._productService = productService;
     this._productTemplateService = productTemplateService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._customerService = customerService;
     this._urlRecordService = urlRecordService;
     this._workContext = workContext;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._specificationAttributeService = specificationAttributeService;
     this._pictureService = pictureService;
     this._taxCategoryService = taxCategoryService;
     this._productTagService = productTagService;
     this._copyProductService = copyProductService;
     this._pdfService = pdfService;
     this._exportManager = exportManager;
     this._importManager = importManager;
     this._customerActivityService = customerActivityService;
     this._permissionService = permissionService;
     this._aclService = aclService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._currencyService = currencyService;
     this._currencySettings = currencySettings;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
     this._pdfSettings = pdfSettings;
     this._adminAreaSettings = adminAreaSettings;
 }
 public ManufacturerController(ICategoryService categoryService, 
     IManufacturerService manufacturerService,
     IManufacturerTemplateService manufacturerTemplateService,
     IProductService productService,
     ICustomerService customerService, 
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IUrlRecordService urlRecordService, 
     IPictureService pictureService,
     ILanguageService languageService, 
     ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService, 
     IExportManager exportManager,
     IDiscountService discountService,
     ICustomerActivityService customerActivityService, 
     IVendorService vendorService,
     IAclService aclService,
     IPermissionService permissionService,
     CatalogSettings catalogSettings,
     IWorkContext workContext,
     IImportManager importManager, 
     ICacheManager cacheManager)
 {
     this._categoryService = categoryService;
     this._manufacturerTemplateService = manufacturerTemplateService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._customerService = customerService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._urlRecordService = urlRecordService;
     this._pictureService = pictureService;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._exportManager = exportManager;
     this._discountService = discountService;
     this._customerActivityService = customerActivityService;
     this._vendorService = vendorService;
     this._aclService = aclService;
     this._permissionService = permissionService;
     this._catalogSettings = catalogSettings;
     this._workContext = workContext;
     this._importManager = importManager;
     this._cacheManager = cacheManager;
 }
示例#15
0
 public TopicController(ITopicService topicService,
     ILocalizationService localizationService,
     IWorkContext workContext, 
     IStoreContext storeContext,
     ICacheManager cacheManager,
     IStoreMappingService storeMappingService,
     IAclService aclService,
     ITopicTemplateService topicTemplateService)
 {
     this._topicService = topicService;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._localizationService = localizationService;
     this._cacheManager = cacheManager;
     this._storeMappingService = storeMappingService;
     this._aclService = aclService;
     this._topicTemplateService = topicTemplateService;
 }
 public ManufacturerController(ICategoryService categoryService, 
     IManufacturerService manufacturerService,
     IManufacturerTemplateService manufacturerTemplateService,
     IProductService productService,
     ICustomerService customerService, 
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IUrlRecordService urlRecordService, 
     IPictureService pictureService,
     ILanguageService languageService, 
     ILocalizationService localizationService,
     IExportManager exportManager,
     IDiscountService discountService,
     ICustomerActivityService customerActivityService, 
     IVendorService vendorService,
     IAclService aclService,
     IPermissionService permissionService,
     IDateTimeHelper dateTimeHelper,
     CatalogSettings catalogSettings)
 {
     this._categoryService = categoryService;
     this._manufacturerTemplateService = manufacturerTemplateService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._customerService = customerService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._urlRecordService = urlRecordService;
     this._pictureService = pictureService;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._exportManager = exportManager;
     this._discountService = discountService;
     this._customerActivityService = customerActivityService;
     this._vendorService = vendorService;
     this._aclService = aclService;
     this._permissionService = permissionService;
     this._dateTimeHelper = dateTimeHelper;
     this._catalogSettings = catalogSettings;
 }
 public CategoryController(ICategoryService categoryService, ICategoryTemplateService categoryTemplateService,
                           IManufacturerService manufacturerService, IProductService productService,
                           ICustomerService customerService,
                           IUrlRecordService urlRecordService,
                           IPictureService pictureService,
                           ILanguageService languageService,
                           ILocalizationService localizationService,
                           ILocalizedEntityService localizedEntityService,
                           IDiscountService discountService,
                           IPermissionService permissionService,
                           IAclService aclService,
                           IStoreService storeService,
                           IStoreMappingService storeMappingService,
                           IExportManager exportManager,
                           IVendorService vendorService,
                           ICustomerActivityService customerActivityService,
                           CatalogSettings catalogSettings)
 {
     this._categoryService         = categoryService;
     this._categoryTemplateService = categoryTemplateService;
     this._manufacturerService     = manufacturerService;
     this._productService          = productService;
     this._customerService         = customerService;
     this._urlRecordService        = urlRecordService;
     this._pictureService          = pictureService;
     this._languageService         = languageService;
     this._localizationService     = localizationService;
     this._localizedEntityService  = localizedEntityService;
     this._discountService         = discountService;
     this._permissionService       = permissionService;
     this._vendorService           = vendorService;
     this._aclService              = aclService;
     this._storeService            = storeService;
     this._storeMappingService     = storeMappingService;
     this._exportManager           = exportManager;
     this._customerActivityService = customerActivityService;
     this._catalogSettings         = catalogSettings;
 }
 public CategoryController(IAclService aclService,
                           ICategoryModelFactory categoryModelFactory,
                           ICategoryService categoryService,
                           ICustomerActivityService customerActivityService,
                           ICustomerService customerService,
                           IDiscountService discountService,
                           IExportManager exportManager,
                           IImportManager importManager,
                           ILocalizationService localizationService,
                           ILocalizedEntityService localizedEntityService,
                           INotificationService notificationService,
                           IPermissionService permissionService,
                           IPictureService pictureService,
                           IProductService productService,
                           IStoreMappingService storeMappingService,
                           IStoreService storeService,
                           IUrlRecordService urlRecordService,
                           IWorkContext workContext)
 {
     this._aclService              = aclService;
     this._categoryModelFactory    = categoryModelFactory;
     this._categoryService         = categoryService;
     this._customerActivityService = customerActivityService;
     this._customerService         = customerService;
     this._discountService         = discountService;
     this._exportManager           = exportManager;
     this._importManager           = importManager;
     this._localizationService     = localizationService;
     this._localizedEntityService  = localizedEntityService;
     this._notificationService     = notificationService;
     this._permissionService       = permissionService;
     this._pictureService          = pictureService;
     this._productService          = productService;
     this._storeMappingService     = storeMappingService;
     this._storeService            = storeService;
     this._urlRecordService        = urlRecordService;
     this._workContext             = workContext;
 }
示例#19
0
 public CatalogController(CatalogSettings catalogSettings,
                          IAclService aclService,
                          ICatalogModelFactory catalogModelFactory,
                          ICategoryService categoryService,
                          ICustomerActivityService customerActivityService,
                          IGenericAttributeService genericAttributeService,
                          ILocalizationService localizationService,
                          IPermissionService permissionService,
                          IProductModelFactory productModelFactory,
                          IProductService productService,
                          IProductTagService productTagService,
                          IStoreContext storeContext,
                          IStoreMappingService storeMappingService,
                          IVendorService vendorService,
                          IWebHelper webHelper,
                          IWorkContext workContext,
                          MediaSettings mediaSettings,
                          VendorSettings vendorSettings)
 {
     this._catalogSettings         = catalogSettings;
     this._aclService              = aclService;
     this._catalogModelFactory     = catalogModelFactory;
     this._categoryService         = categoryService;
     this._customerActivityService = customerActivityService;
     this._genericAttributeService = genericAttributeService;
     this._localizationService     = localizationService;
     this._permissionService       = permissionService;
     this._productModelFactory     = productModelFactory;
     this._productService          = productService;
     this._productTagService       = productTagService;
     this._storeContext            = storeContext;
     this._storeMappingService     = storeMappingService;
     this._vendorService           = vendorService;
     this._webHelper      = webHelper;
     this._workContext    = workContext;
     this._mediaSettings  = mediaSettings;
     this._vendorSettings = vendorSettings;
 }
示例#20
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="materialRepository">Material repository</param>
 /// <param name="tierPriceRepository">Tier price repository</param>
 /// <param name="localizedPropertyRepository">Localized property repository</param>
 /// <param name="aclRepository">ACL record repository</param>
 /// <param name="storeMappingRepository">Store mapping repository</param>
 /// <param name="stockQuantityHistoryRepository">Stock quantity history repository</param>
 /// <param name="languageService">Language service</param>
 /// <param name="workflowMessageService">Workflow message service</param>
 /// <param name="dataProvider">Data provider</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="workContext">Work context</param>
 /// <param name="localizationSettings">Localization settings</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="catalogSettings">Catalog settings</param>
 /// <param name="eventPublisher">Event published</param>
 /// <param name="aclService">ACL service</param>
 /// <param name="storeMappingService">Store mapping service</param>
 public MaterialService(ICacheManager cacheManager,
                        IRepository <Material> materialRepository,
                        IRepository <ProductRecipe> productRecipeRepository,
                        IRepository <LocalizedProperty> localizedPropertyRepository,
                        IRepository <AclRecord> aclRepository,
                        IRepository <StoreMapping> storeMappingRepository,
                        IRepository <MaterialQuantityHistory> stockQuantityHistoryRepository,
                        ILanguageService languageService,
                        IWorkflowMessageService workflowMessageService,
                        IDataProvider dataProvider,
                        IDbContext dbContext,
                        IWorkContext workContext,
                        LocalizationSettings localizationSettings,
                        CommonSettings commonSettings,
                        CatalogSettings catalogSettings,
                        IEventPublisher eventPublisher,
                        IAclService aclService,
                        IStoreMappingService storeMappingService)
 {
     this._cacheManager                   = cacheManager;
     this._materialRepository             = materialRepository;
     this._productRecipeRepository        = productRecipeRepository;
     this._localizedPropertyRepository    = localizedPropertyRepository;
     this._aclRepository                  = aclRepository;
     this._storeMappingRepository         = storeMappingRepository;
     this._stockQuantityHistoryRepository = stockQuantityHistoryRepository;
     this._languageService                = languageService;
     this._workflowMessageService         = workflowMessageService;
     this._dataProvider                   = dataProvider;
     this._dbContext            = dbContext;
     this._workContext          = workContext;
     this._localizationSettings = localizationSettings;
     this._commonSettings       = commonSettings;
     this._catalogSettings      = catalogSettings;
     this._eventPublisher       = eventPublisher;
     this._aclService           = aclService;
     this._storeMappingService  = storeMappingService;
 }
示例#21
0
 public CategoryController(ICategoryService categoryService, ICategoryTemplateService categoryTemplateService,
                           IManufacturerService manufacturerService, IProductService productService,
                           ICustomerService customerService,
                           IUrlRecordService urlRecordService, IPictureService pictureService, ILanguageService languageService,
                           ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
                           IDiscountService discountService, IPermissionService permissionService,
                           IAclService aclService, IStoreService storeService, IStoreMappingService storeMappingService,
                           IWorkContext workContext,
                           ICustomerActivityService customerActivityService,
                           IDateTimeHelper dateTimeHelper,
                           AdminAreaSettings adminAreaSettings,
                           CatalogSettings catalogSettings,
                           IEventPublisher eventPublisher,
                           Lazy <IGenericAttributeService> genericAttributeService)
 {
     this._categoryService         = categoryService;
     this._categoryTemplateService = categoryTemplateService;
     this._manufacturerService     = manufacturerService;
     this._productService          = productService;
     this._customerService         = customerService;
     this._urlRecordService        = urlRecordService;
     this._pictureService          = pictureService;
     this._languageService         = languageService;
     this._localizationService     = localizationService;
     this._localizedEntityService  = localizedEntityService;
     this._discountService         = discountService;
     this._permissionService       = permissionService;
     this._aclService              = aclService;
     this._storeService            = storeService;
     this._storeMappingService     = storeMappingService;
     this._workContext             = workContext;
     this._customerActivityService = customerActivityService;
     this._dateTimeHelper          = dateTimeHelper;
     this._adminAreaSettings       = adminAreaSettings;
     this._catalogSettings         = catalogSettings;
     this._eventPublisher          = eventPublisher;
     _genericAttributeService      = genericAttributeService;
 }
 public ManufacturerController(IAclService aclService,
                               ICustomerActivityService customerActivityService,
                               ICustomerService customerService,
                               IDiscountService discountService,
                               IExportManager exportManager,
                               IImportManager importManager,
                               ILocalizationService localizationService,
                               ILocalizedEntityService localizedEntityService,
                               IManufacturerModelFactory manufacturerModelFactory,
                               IManufacturerService manufacturerService,
                               INotificationService notificationService,
                               IPermissionService permissionService,
                               IPictureService pictureService,
                               IProductService productService,
                               IStoreMappingService storeMappingService,
                               IStoreService storeService,
                               IUrlRecordService urlRecordService,
                               IWorkContext workContext)
 {
     _aclService = aclService;
     _customerActivityService  = customerActivityService;
     _customerService          = customerService;
     _discountService          = discountService;
     _exportManager            = exportManager;
     _importManager            = importManager;
     _localizationService      = localizationService;
     _localizedEntityService   = localizedEntityService;
     _manufacturerModelFactory = manufacturerModelFactory;
     _manufacturerService      = manufacturerService;
     _notificationService      = notificationService;
     _permissionService        = permissionService;
     _pictureService           = pictureService;
     _productService           = productService;
     _storeMappingService      = storeMappingService;
     _storeService             = storeService;
     _urlRecordService         = urlRecordService;
     _workContext = workContext;
 }
        public TopicsController(
            IJsonFieldsSerializer jsonFieldsSerializer,
            IAclService aclService,
            ITopicService topicService,
            ICustomerService customerService,
            IStoreMappingService storeMappingService,
            IStoreService storeService,
            IDiscountService discountService,
            ICustomerActivityService customerActivityService,
            ILocalizationService localizationService,
            IStoreContext storeContext,
            IDTOHelper dtoHelper,
            IPictureService pictureService,
            IFactory <Topic> factory

            ) : base(jsonFieldsSerializer, aclService, customerService, storeMappingService,
                     storeService, discountService, customerActivityService, localizationService, pictureService)
        {
            _topicService = topicService;
            _storeContext = storeContext;
            _dtoHelper    = dtoHelper;
            _factory      = factory;
        }
示例#24
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="categoryRepository">ArticleCategory repository</param>
 /// <param name="articleArticleCategoryRepository">ProductArticleCategory repository</param>
 /// <param name="articleRepository">Product repository</param>
 /// <param name="aclRepository">ACL record repository</param>
 /// <param name="siteMappingRepository">Site mapping repository</param>
 /// <param name="workContext">Work context</param>
 /// <param name="siteContext">Site context</param>
 /// <param name="eventPublisher">Event publisher</param>
 public ArticleCategoryService(ICacheManager cacheManager,
                               IRepository <ArticleCategory> categoryRepository,
                               IRepository <Article> articleRepository,
                               IRepository <SiteMapping> siteMappingRepository,
                               IRepository <AclRecord> aclRepository,
                               IWorkContext workContext,
                               ISiteContext siteContext,
                               IEventPublisher eventPublisher,
                               IAclService aclService,
                               ISiteMappingService siteMappingService)
 {
     this._cacheManager          = cacheManager;
     this._categoryRepository    = categoryRepository;
     this._articleRepository     = articleRepository;
     this._siteMappingRepository = siteMappingRepository;
     this._aclRepository         = aclRepository;
     this._workContext           = workContext;
     this._siteContext           = siteContext;
     this._eventPublisher        = eventPublisher;
     this._siteMappingService    = siteMappingService;
     this._aclService            = aclService;
     this.QuerySettings          = DbQuerySettings.Default;
 }
 public CustomCategoryService(ICacheManager cacheManager,
                              IRepository <Category> categoryRepository,
                              IRepository <ProductCategory> productCategoryRepository,
                              IRepository <Product> productRepository,
                              IRepository <AclRecord> aclRepository,
                              IRepository <StoreMapping> storeMappingRepository,
                              IWorkContext workContext,
                              IStoreContext storeContext,
                              IEventPublisher eventPublisher,
                              IStoreMappingService storeMappingService,
                              IAclService aclService,
                              CatalogSettings catalogSettings) : base(cacheManager, categoryRepository, productCategoryRepository, productRepository, aclRepository, storeMappingRepository, workContext, storeContext, eventPublisher, storeMappingService, aclService, catalogSettings)
 {
     _cacheManager              = cacheManager;
     _categoryRepository        = categoryRepository;
     _productCategoryRepository = productCategoryRepository;
     _productRepository         = productRepository;
     _storeMappingRepository    = storeMappingRepository;
     _workContext         = workContext;
     _storeContext        = storeContext;
     _storeMappingService = storeMappingService;
     _aclService          = aclService;
 }
示例#26
0
 public TopicService(CatalogSettings catalogSettings,
                     IAclService aclService,
                     ICacheManager cacheManager,
                     IEventPublisher eventPublisher,
                     IRepository <AclRecord> aclRepository,
                     IRepository <StoreMapping> storeMappingRepository,
                     IRepository <Topic> topicRepository,
                     IStoreMappingService storeMappingService,
                     IWorkContext workContext,
                     IRepository <TopicCategory> topicCategoryRepository)
 {
     this._catalogSettings         = catalogSettings;
     this._aclService              = aclService;
     this._cacheManager            = cacheManager;
     this._eventPublisher          = eventPublisher;
     this._aclRepository           = aclRepository;
     this._storeMappingRepository  = storeMappingRepository;
     this._topicRepository         = topicRepository;
     this._storeMappingService     = storeMappingService;
     this._workContext             = workContext;
     this._topicCategoryRepository = topicCategoryRepository;
     this._entityName              = typeof(Topic).Name;
 }
示例#27
0
 public GetShippingAddressHandler(
     IShippingService shippingService,
     IPickupPointService pickupPointService,
     ITaxService taxService,
     ICurrencyService currencyService,
     IPriceFormatter priceFormatter,
     ITranslationService translationService,
     ICountryService countryService,
     IAclService aclService,
     IMediator mediator,
     ShippingSettings shippingSettings)
 {
     _shippingService    = shippingService;
     _pickupPointService = pickupPointService;
     _taxService         = taxService;
     _currencyService    = currencyService;
     _priceFormatter     = priceFormatter;
     _translationService = translationService;
     _countryService     = countryService;
     _aclService         = aclService;
     _mediator           = mediator;
     _shippingSettings   = shippingSettings;
 }
 public WidgetsCustomBestSellerController(IWorkContext workContext,
     IStoreContext storeContext,
     IStoreService storeService, 
     IPictureService pictureService,
     ISettingService settingService,
     ICacheManager cacheManager,
     ILocalizationService localizationService, CatalogSettings catalogSettings, IProductService productService, IOrderReportService orderReportService, IAclService aclService, IStoreMappingService storeMappingService, IWebHelper webHelper, MediaSettings mediaSettings)
 {
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._storeService = storeService;
     this._pictureService = pictureService;
     this._settingService = settingService;
     this._cacheManager = cacheManager;
     this._localizationService = localizationService;
     _catalogSettings = catalogSettings;
     _productService = productService;
     _orderReportService = orderReportService;
     _aclService = aclService;
     _storeMappingService = storeMappingService;
     _webHelper = webHelper;
     _mediaSettings = mediaSettings;
 }
 public CategoriesController(ICategoryApiService categoryApiService,
                             IJsonFieldsSerializer jsonFieldsSerializer,
                             ICategoryService categoryService,
                             IUrlRecordService urlRecordService,
                             ICustomerActivityService customerActivityService,
                             ILocalizationService localizationService,
                             IPictureService pictureService,
                             IStoreMappingService storeMappingService,
                             IStoreService storeService,
                             IDiscountService discountService,
                             IAclService aclService,
                             ICustomerService customerService,
                             IFactory <Category> factory,
                             IDTOHelper dtoHelper,
                             ILocalizedEntityService localizedEntityService) : base(jsonFieldsSerializer, aclService, customerService, storeMappingService, storeService, discountService, customerActivityService, localizationService, pictureService)
 {
     _categoryApiService     = categoryApiService;
     _categoryService        = categoryService;
     _urlRecordService       = urlRecordService;
     _factory                = factory;
     _dtoHelper              = dtoHelper;
     _localizedEntityService = localizedEntityService;
 }
示例#30
0
 public CustomManufacturerService(CatalogSettings catalogSettings,
                                  IAclService aclService,
                                  ICategoryService categoryService,
                                  ICustomerService customerService,
                                  IRepository <DiscountManufacturerMapping> discountManufacturerMappingRepository,
                                  IRepository <Manufacturer> manufacturerRepository,
                                  IRepository <Product> productRepository,
                                  IRepository <ProductManufacturer> productManufacturerRepository,
                                  IRepository <ProductCategory> productCategoryRepository,
                                  IStaticCacheManager staticCacheManager,
                                  IStoreContext storeContext,
                                  IStoreMappingService storeMappingService,
                                  IWorkContext workContext
                                  ) : base(catalogSettings, aclService,
                                           categoryService, customerService,
                                           discountManufacturerMappingRepository, manufacturerRepository,
                                           productRepository,
                                           productManufacturerRepository, productCategoryRepository,
                                           staticCacheManager, storeContext,
                                           storeMappingService, workContext)
 {
     _manufacturerRepository = manufacturerRepository;
 }
示例#31
0
 public SpecificationAttributesController(IJsonFieldsSerializer jsonFieldsSerializer,
                                          ICustomerActivityService customerActivityService,
                                          ILocalizationService localizationService,
                                          IAclService aclService,
                                          IStoreMappingService storeMappingService,
                                          IStoreService storeService,
                                          ICustomerService customerService,
                                          IDiscountService discountService,
                                          IPictureService pictureService,
                                          ISpecificationAttributeService specificationAttributeService,
                                          ISpecificationAttributeApiService specificationAttributesApiService,
                                          IDTOHelper dtoHelper,
                                          ILocalizedEntityService localizedEntityService,
                                          IProductAttributesApiService productAttributesApiService,
                                          IUrlRecordService urlRecordService) : base(jsonFieldsSerializer, aclService, customerService, storeMappingService, storeService, discountService, customerActivityService, localizationService, pictureService)
 {
     _specificationAttributeService    = specificationAttributeService;
     _specificationAttributeApiService = specificationAttributesApiService;
     _dtoHelper = dtoHelper;
     _localizedEntityService      = localizedEntityService;
     _urlRecordService            = urlRecordService;
     _productAttributesApiService = productAttributesApiService;
 }
 public AdCampaignController(IAdCampaignService adCampaignService, IPermissionService permissionService,
                             IAclService aclService, IStoreService storeService, IStoreMappingService storeMappingService,
                             AdminAreaSettings adminAreaSettings,
                             IWorkContext workContext,
                             ILocalizationService localizationService,
                             ICustomerActivityService customerActivityService,
                             ICustomerService customerService,
                             IGenericAttributeService genericAttributeService,
                             ITransactionService transactionService)
 {
     _adCampaignService       = adCampaignService;
     _permissionService       = permissionService;
     _aclService              = aclService;
     _storeService            = storeService;
     _adminAreaSettings       = adminAreaSettings;
     _localizationService     = localizationService;
     _customerActivityService = customerActivityService;
     _workContext             = workContext;
     _storeMappingService     = storeMappingService;
     _customerService         = customerService;
     _genericAttributeService = genericAttributeService;
     _transactionService      = transactionService;
 }
示例#33
0
        public PublicInfoComponent(IAclService aclService,
                                   ICacheKeyService cacheKeyService,
                                   ICustomerService customerService,
                                   ILocalizationService localizationService,
                                   IPictureService pictureService,
                                   ISettingService settingService,
                                   ISlideService slideService,
                                   IStaticCacheManager staticCacheManager,
                                   IStoreContext storeContext,
                                   IWorkContext workContext)
        {
            this._aclService          = aclService;
            this._cacheKeyService     = cacheKeyService;
            this._customerService     = customerService;
            this._localizationService = localizationService;
            this._pictureService      = pictureService;
            this._settingService      = settingService;
            this._slideService        = slideService;
            this._staticCacheManager  = staticCacheManager;

            this._storeContext = storeContext;
            this._workContext  = workContext;
        }
 public WebHookRegistrationsController(IJsonFieldsSerializer jsonFieldsSerializer,
                                       IAclService aclService,
                                       ICustomerService customerService,
                                       IStoreMappingService storeMappingService,
                                       IStoreService storeService,
                                       IDiscountService discountService,
                                       ICustomerActivityService customerActivityService,
                                       ILocalizationService localizationService,
                                       IPictureService pictureService,
                                       IAuthorizationHelper authorizationHelper,
                                       IStoreContext storeContext)
     : base(jsonFieldsSerializer,
            aclService, customerService,
            storeMappingService,
            storeService,
            discountService,
            customerActivityService,
            localizationService,
            pictureService)
 {
     _authorizationHelper = authorizationHelper;
     _storeContext        = storeContext;
 }
 public KnowledgebaseController(KnowledgebaseSettings knowledgebaseSettings, IKnowledgebaseService knowledgebaseService, IWorkContext workContext,
                                IStoreContext storeContext, ICacheManager cacheManager, IAclService aclService, IStoreMappingService storeMappingService, ILocalizationService localizationService,
                                CaptchaSettings captchaSettings, LocalizationSettings localizationSettings, IWorkflowMessageService workflowMessageService,
                                ICustomerActivityService customerActivityService, IDateTimeHelper dateTimeHelper, CustomerSettings customerSettings,
                                MediaSettings mediaSettings, IPictureService pictureService)
 {
     _knowledgebaseSettings   = knowledgebaseSettings;
     _knowledgebaseService    = knowledgebaseService;
     _workContext             = workContext;
     _storeContext            = storeContext;
     _cacheManager            = cacheManager;
     _aclService              = aclService;
     _storeMappingService     = storeMappingService;
     _localizationService     = localizationService;
     _captchaSettings         = captchaSettings;
     _localizationSettings    = localizationSettings;
     _workflowMessageService  = workflowMessageService;
     _customerActivityService = customerActivityService;
     _dateTimeHelper          = dateTimeHelper;
     _customerSettings        = customerSettings;
     _mediaSettings           = mediaSettings;
     _pictureService          = pictureService;
 }
示例#36
0
 public ProductsController(IProductApiService productApiService,
                           CatalogSettings catalogSettings,
                           IOrderReportService orderReportService,
                           IStoreContext storeContext,
                           IJsonFieldsSerializer jsonFieldsSerializer,
                           IProductService productService,
                           IUrlRecordService urlRecordService,
                           ICustomerActivityService customerActivityService,
                           ILocalizationService localizationService,
                           IFactory <Product> factory,
                           IAclService aclService,
                           IStoreMappingService storeMappingService,
                           IStoreService storeService,
                           ICustomerService customerService,
                           IDiscountService discountService,
                           IPictureService pictureService,
                           IManufacturerService manufacturerService,
                           IProductTagService productTagService,
                           IProductAttributeService productAttributeService,
                           ILogger logger,
                           IDTOHelper dtoHelper,
                           IHostEnvironment hostEnvironment) : base(jsonFieldsSerializer, aclService, customerService, storeMappingService, storeService, discountService, customerActivityService, localizationService, pictureService)
 {
     _productApiService       = productApiService;
     _factory                 = factory;
     _catalogSettings         = catalogSettings;
     _storeContext            = storeContext;
     _orderReportService      = orderReportService;
     _manufacturerService     = manufacturerService;
     _productTagService       = productTagService;
     _urlRecordService        = urlRecordService;
     _productService          = productService;
     _productAttributeService = productAttributeService;
     _logger          = logger;
     _dtoHelper       = dtoHelper;
     _hostEnvironment = hostEnvironment;
 }
示例#37
0
 public PostController(IPostService postService,
                       ICategoryService categoryService,
                       ICustomerService customerService,
                       IUrlRecordService urlRecordService,
                       IWorkContext workContext,
                       ILanguageService languageService,
                       ILocalizationService localizationService,
                       ILocalizedEntityService localizedEntityService,
                       IPictureService pictureService,
                       IExportManager exportManager,
                       IImportManager importManager,
                       ICustomerActivityService customerActivityService,
                       IPermissionService permissionService,
                       IAclService aclService,
                       ICacheManager cacheManager,
                       IDateTimeHelper dateTimeHelper,
                       IPostTagService postTagService, IPostTemplateService postTemplateService)
 {
     _postService             = postService;
     _categoryService         = categoryService;
     _customerService         = customerService;
     _urlRecordService        = urlRecordService;
     _workContext             = workContext;
     _languageService         = languageService;
     _localizationService     = localizationService;
     _localizedEntityService  = localizedEntityService;
     _pictureService          = pictureService;
     _exportManager           = exportManager;
     _importManager           = importManager;
     _customerActivityService = customerActivityService;
     _permissionService       = permissionService;
     _aclService          = aclService;
     _cacheManager        = cacheManager;
     _dateTimeHelper      = dateTimeHelper;
     _postTagService      = postTagService;
     _postTemplateService = postTemplateService;
 }
示例#38
0
 public ManufacturerController(
     IManufacturerService manufacturerService,
     IManufacturerTemplateService manufacturerTemplateService,
     IProductService productService,
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IAclService aclService,
     IUrlRecordService urlRecordService,
     IPictureService pictureService,
     ILanguageService languageService,
     ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService,
     IWorkContext workContext,
     ICustomerActivityService customerActivityService,
     IDiscountService discountService,
     IDateTimeHelper dateTimeHelper,
     AdminAreaSettings adminAreaSettings,
     CatalogSettings catalogSettings)
 {
     _manufacturerTemplateService = manufacturerTemplateService;
     _manufacturerService         = manufacturerService;
     _productService          = productService;
     _storeService            = storeService;
     _storeMappingService     = storeMappingService;
     _aclService              = aclService;
     _urlRecordService        = urlRecordService;
     _pictureService          = pictureService;
     _languageService         = languageService;
     _localizationService     = localizationService;
     _localizedEntityService  = localizedEntityService;
     _workContext             = workContext;
     _customerActivityService = customerActivityService;
     _discountService         = discountService;
     _dateTimeHelper          = dateTimeHelper;
     _adminAreaSettings       = adminAreaSettings;
     _catalogSettings         = catalogSettings;
 }
示例#39
0
 /// <summary>
 ///     Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="postRepository">Post repository</param>
 /// <param name="relatedPostRepository">Related post repository</param>
 /// <param name="crossSellPostRepository">Cross-sell post repository</param>
 /// <param name="tierPriceRepository">Tier price repository</param>
 /// <param name="localizedPropertyRepository">Localized property repository</param>
 /// <param name="aclRepository">ACL record repository</param>
 /// <param name="storeMappingRepository">Store mapping repository</param>
 /// <param name="postPictureRepository">Post picture repository</param>
 /// <param name="postSpecificationAttributeRepository">Post specification attribute repository</param>
 /// <param name="postReviewRepository">Post review repository</param>
 /// <param name="postWarehouseInventoryRepository">Post warehouse inventory repository</param>
 /// <param name="postAttributeService">Post attribute service</param>
 /// <param name="postAttributeParser">Post attribute parser service</param>
 /// <param name="languageService">Language service</param>
 /// <param name="workflowMessageService">Workflow message service</param>
 /// <param name="dataProvider">Data provider</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="workContext">Work context</param>
 /// <param name="localizationSettings">Localization settings</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="catalogSettings">Catalog settings</param>
 /// <param name="eventPublisher">Event published</param>
 /// <param name="aclService">ACL service</param>
 /// <param name="storeMappingService">Store mapping service</param>
 public PostService(ICacheManager cacheManager,
                    IRepository <Post> postRepository,
                    IRepository <PostPicture> postPictureRepository,
                    IRepository <LocalizedProperty> localizedPropertyRepository,
                    IRepository <AclRecord> aclRepository,
                    ILanguageService languageService,
                    IWorkflowMessageService workflowMessageService,
                    IDataProvider dataProvider,
                    IDbContext dbContext,
                    IWorkContext workContext,
                    LocalizationSettings localizationSettings,
                    CommonSettings commonSettings,
                    CatalogSettings catalogSettings,
                    IEventPublisher eventPublisher,
                    IAclService aclService, IRepository <Category> categoryRepository,
                    IRepository <CategoryType> categoryTypeRepository,
                    IRepository <RelatedPost> relatedPostRepository)
 {
     _cacheManager                = cacheManager;
     _postRepository              = postRepository;
     _postPictureRepository       = postPictureRepository;
     _localizedPropertyRepository = localizedPropertyRepository;
     _aclRepository               = aclRepository;
     _languageService             = languageService;
     _workflowMessageService      = workflowMessageService;
     _dataProvider                = dataProvider;
     _dbContext              = dbContext;
     _workContext            = workContext;
     _localizationSettings   = localizationSettings;
     _commonSettings         = commonSettings;
     _catalogSettings        = catalogSettings;
     _eventPublisher         = eventPublisher;
     _aclService             = aclService;
     _categoryRepository     = categoryRepository;
     _categoryTypeRepository = categoryTypeRepository;
     _relatedPostRepository  = relatedPostRepository;
 }
 public ProductService(IRepository <Grand.Plugin.Misc.VPAPlugin.Domains.Product> repo,
                       ICacheManager cacheManager,
                       IRepository <Product> productRepository,
                       IRepository <ProductReview> productReviewRepository,
                       IRepository <UrlRecord> urlRecordRepository,
                       IRepository <Customer> customerRepository,
                       IRepository <CustomerRoleProduct> customerRoleProductRepository,
                       IRepository <CustomerTagProduct> customerTagProductRepository,
                       IRepository <ProductDeleted> productDeletedRepository,
                       IRepository <CustomerProduct> customerProductRepository,
                       IRepository <ProductTag> productTagRepository,
                       IProductAttributeService productAttributeService,
                       IProductAttributeParser productAttributeParser,
                       IWorkContext workContext,
                       IMediator mediator,
                       IAclService aclService,
                       IStoreMappingService storeMappingService,
                       CatalogSettings catalogSettings,
                       IRepository <Vendor> vendorService,
                       IStoreContext storeContext,
                       IForumService forumService,
                       IRepository <Vendor> vendorRepository,
                       VPAPluginSettings settings) : base(cacheManager, productRepository, productReviewRepository, urlRecordRepository, customerRepository,
                                                          customerRoleProductRepository, customerTagProductRepository, productDeletedRepository, customerProductRepository, productTagRepository,
                                                          productAttributeService, productAttributeParser, workContext, mediator, aclService, storeMappingService, catalogSettings)
 {
     _repo                = repo;
     _aclService          = aclService;
     _storeMappingService = storeMappingService;
     _vendorService       = vendorService;
     _customerRepository  = customerRepository;
     _workContext         = workContext;
     _storeContext        = storeContext;
     _forumService        = forumService;
     _vendorRepository    = vendorRepository;
     _settings            = settings;
 }
示例#41
0
 public GetWishlistHandler(
     IPermissionService permissionService,
     IShoppingCartService shoppingCartService,
     IProductService productService,
     IProductAttributeParser productAttributeParser,
     IProductAttributeFormatter productAttributeFormatter,
     ITranslationService translationService,
     ITaxService taxService,
     IPricingService priceCalculationService,
     IAclService aclService,
     IPriceFormatter priceFormatter,
     IPictureService pictureService,
     IShoppingCartValidator shoppingCartValidator,
     IHttpContextAccessor httpContextAccessor,
     LinkGenerator linkGenerator,
     ShoppingCartSettings shoppingCartSettings,
     CatalogSettings catalogSettings,
     MediaSettings mediaSettings)
 {
     _permissionService         = permissionService;
     _shoppingCartService       = shoppingCartService;
     _productService            = productService;
     _productAttributeParser    = productAttributeParser;
     _productAttributeFormatter = productAttributeFormatter;
     _translationService        = translationService;
     _taxService            = taxService;
     _pricingService        = priceCalculationService;
     _aclService            = aclService;
     _priceFormatter        = priceFormatter;
     _pictureService        = pictureService;
     _shoppingCartValidator = shoppingCartValidator;
     _httpContextAccessor   = httpContextAccessor;
     _linkGenerator         = linkGenerator;
     _shoppingCartSettings  = shoppingCartSettings;
     _catalogSettings       = catalogSettings;
     _mediaSettings         = mediaSettings;
 }
示例#42
0
 public ProductController(
     IProductService productService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ILocalizationService localizationService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     IShoppingCartService shoppingCartService,
     ICompareProductsService compareProductsService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService,
     ICustomerActivityService customerActivityService,
     ICustomerActionEventService customerActionEventService,
     IMediator mediator,
     CatalogSettings catalogSettings,
     ShoppingCartSettings shoppingCartSettings,
     CaptchaSettings captchaSettings, IImportService importService, IRepository <Product> productRepository)
 {
     _productService                = productService;
     _workContext                   = workContext;
     _storeContext                  = storeContext;
     _localizationService           = localizationService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _shoppingCartService           = shoppingCartService;
     _compareProductsService        = compareProductsService;
     _aclService                 = aclService;
     _storeMappingService        = storeMappingService;
     _permissionService          = permissionService;
     _customerActivityService    = customerActivityService;
     _customerActionEventService = customerActionEventService;
     _mediator             = mediator;
     _catalogSettings      = catalogSettings;
     _shoppingCartSettings = shoppingCartSettings;
     _captchaSettings      = captchaSettings;
     _importService        = importService;
     _productRepository    = productRepository;
 }
        public ArticleCatalogController(
            ICommonServices services,
            IClientService clientService,
            IArticleCategoryService articlecategoryService,
            IModelTemplateService modelTemplateService,
            IArticleService articleService, IArticleTagService articlesTagService,
            IPictureService pictureService,
            IGenericAttributeService genericAttributeService,
            IAclService aclService,
            ISiteMappingService siteMappingService,
            MediaSettings mediaSettings,
            ArticleCatalogSettings catalogSettings,
            IRecentlyViewedArticlesService recentlyViewedArticlesService,
            //IFilterService filterService,
            ArticleCatalogHelper helper,
            Lazy <ISearchProvider> searchProvider
            )
        {
            this._services                      = services;
            this._clientService                 = clientService;
            this._articlecategoryService        = articlecategoryService;
            this._articleService                = articleService;
            this._articlesTagService            = articlesTagService;
            this._modelTemplateService          = modelTemplateService;
            this._pictureService                = pictureService;
            this._genericAttributeService       = genericAttributeService;
            this._aclService                    = aclService;
            this._siteMappingService            = siteMappingService;
            this._recentlyViewedArticlesService = recentlyViewedArticlesService;
            //this._filterService = filterService;
            this._mediaSettings   = mediaSettings;
            this._catalogSettings = catalogSettings;

            this._helper         = helper;
            this._searchProvider = searchProvider;
            T = NullLocalizer.Instance;
        }
 public CatalogController(
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IProductService productService,
     ICategoryTemplateService categoryTemplateService,
     IManufacturerTemplateService manufacturerTemplateService,
     IOrderReportService orderReportService,
     IProductTagService productTagService,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     ICompareProductsService compareProductsService,
     IGenericAttributeService genericAttributeService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     ICatalogSearchService catalogSearchService,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     CatalogHelper helper,
     IBreadcrumb breadcrumb)
 {
     _categoryService               = categoryService;
     _manufacturerService           = manufacturerService;
     _productService                = productService;
     _categoryTemplateService       = categoryTemplateService;
     _manufacturerTemplateService   = manufacturerTemplateService;
     _orderReportService            = orderReportService;
     _productTagService             = productTagService;
     _recentlyViewedProductsService = recentlyViewedProductsService;
     _compareProductsService        = compareProductsService;
     _genericAttributeService       = genericAttributeService;
     _aclService           = aclService;
     _storeMappingService  = storeMappingService;
     _catalogSearchService = catalogSearchService;
     _mediaSettings        = mediaSettings;
     _catalogSettings      = catalogSettings;
     _helper     = helper;
     _breadcrumb = breadcrumb;
 }
示例#45
0
        public virtual async Task <IActionResult> BlogPost(string blogPostId,
                                                           [FromServices] IAclService aclService,
                                                           [FromServices] IPermissionService permissionService)
        {
            if (!_blogSettings.Enabled)
            {
                return(RedirectToRoute("HomePage"));
            }

            var blogPost = await _blogService.GetBlogPostById(blogPostId);

            if (blogPost == null ||
                (blogPost.StartDateUtc.HasValue && blogPost.StartDateUtc.Value >= DateTime.UtcNow) ||
                (blogPost.EndDateUtc.HasValue && blogPost.EndDateUtc.Value <= DateTime.UtcNow))
            {
                return(RedirectToRoute("HomePage"));
            }

            //Store acl
            if (!aclService.Authorize(blogPost, _workContext.CurrentStore.Id))
            {
                return(InvokeHttp404());
            }

            var model = await _mediator.Send(new GetBlogPost()
            {
                BlogPost = blogPost
            });

            //display "edit" (manage) link
            if (await permissionService.Authorize(StandardPermission.AccessAdminPanel) && await permissionService.Authorize(StandardPermission.ManageBlog))
            {
                DisplayEditLink(Url.Action("Edit", "Blog", new { id = blogPost.Id, area = "Admin" }));
            }

            return(View(model));
        }
 public CategoryService(CatalogSettings catalogSettings,
                        CommonSettings commonSettings,
                        IAclService aclService,
                        ICacheManager cacheManager,
                        IDataProvider dataProvider,
                        IDbContext dbContext,
                        IEventPublisher eventPublisher,
                        ILocalizationService localizationService,
                        IRepository <AclRecord> aclRepository,
                        IRepository <Category> categoryRepository,
                        IRepository <Product> productRepository,
                        IRepository <ProductCategory> productCategoryRepository,
                        IRepository <StoreMapping> storeMappingRepository,
                        IStaticCacheManager staticCacheManager,
                        IStoreContext storeContext,
                        IStoreMappingService storeMappingService,
                        IWorkContext workContext)
 {
     this._catalogSettings           = catalogSettings;
     this._commonSettings            = commonSettings;
     this._aclService                = aclService;
     this._cacheManager              = cacheManager;
     this._dataProvider              = dataProvider;
     this._dbContext                 = dbContext;
     this._eventPublisher            = eventPublisher;
     this._localizationService       = localizationService;
     this._aclRepository             = aclRepository;
     this._categoryRepository        = categoryRepository;
     this._productRepository         = productRepository;
     this._productCategoryRepository = productCategoryRepository;
     this._storeMappingRepository    = storeMappingRepository;
     this._staticCacheManager        = staticCacheManager;
     this._storeContext              = storeContext;
     this._storeMappingService       = storeMappingService;
     this._workContext               = workContext;
     this._entityName                = typeof(Category).Name;
 }
 public OrdersController(IOrderApiService orderApiService,
                         IJsonFieldsSerializer jsonFieldsSerializer,
                         IAclService aclService,
                         ICustomerService customerService,
                         IStoreMappingService storeMappingService,
                         IStoreService storeService,
                         IDiscountService discountService,
                         ICustomerActivityService customerActivityService,
                         ILocalizationService localizationService,
                         IProductService productService,
                         IFactory <Order> factory,
                         IOrderProcessingService orderProcessingService,
                         IOrderService orderService,
                         IShipmentService shipmentService,
                         IShoppingCartService shoppingCartService,
                         IGenericAttributeService genericAttributeService,
                         IStoreContext storeContext,
                         IShippingService shippingService,
                         IPictureService pictureService,
                         IDTOHelper dtoHelper,
                         IProductAttributeConverter productAttributeConverter)
     : base(jsonFieldsSerializer, aclService, customerService, storeMappingService,
            storeService, discountService, customerActivityService, localizationService, pictureService)
 {
     _orderApiService           = orderApiService;
     _factory                   = factory;
     _orderProcessingService    = orderProcessingService;
     _orderService              = orderService;
     _shipmentService           = shipmentService;
     _shoppingCartService       = shoppingCartService;
     _genericAttributeService   = genericAttributeService;
     _storeContext              = storeContext;
     _shippingService           = shippingService;
     _dtoHelper                 = dtoHelper;
     _productService            = productService;
     _productAttributeConverter = productAttributeConverter;
 }
示例#48
0
        public VendorController(ICategoryService categoryService, IVendorService vendorService,
            IVendorTemplateService vendorTemplateService, IProductService productService,
            IUrlRecordService urlRecordService, IPictureService pictureService,
            ILanguageService languageService, ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
            IExportManager exportManager, IWorkContext workContext,
            ICustomerActivityService customerActivityService, IAclService aclService, IPermissionService permissionService,
            AdminAreaSettings adminAreaSettings, CatalogSettings catalogSettings,
            ICustomerService customerService, CustomerSettings customerSettings
            , IBranchService branchService
            , ICountryService countryService, IStateProvinceService stateProvinceService)
        {
            this._categoryService = categoryService;
            this._vendorTemplateService = vendorTemplateService;
            this._vendorService = vendorService;
            this._productService = productService;
            this._urlRecordService = urlRecordService;
            this._pictureService = pictureService;
            this._languageService = languageService;
            this._localizationService = localizationService;
            this._localizedEntityService = localizedEntityService;
            this._exportManager = exportManager;
            this._workContext = workContext;
            this._customerActivityService = customerActivityService;
            this._aclService = aclService;
            this._permissionService = permissionService;
            this._adminAreaSettings = adminAreaSettings;
            this._catalogSettings = catalogSettings;
            this._customerService = customerService;
            this._customerSettings = customerSettings;

            this._branchService = branchService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;

            customerVendorId = _vendorService.GetVendorIdByCustomerId(_workContext.CurrentCustomer.Id);//add by hz
        }
 public CataloguesController(ICataloguesService cataloguesService,
   INewsService newsService, 
     ICustomerService customerService,
     IUrlRecordService urlRecordService, 
     IPictureService pictureService, 
     ILanguageService languageService,
     ILocalizationService localizationService, 
     ILocalizedEntityService localizedEntityService,
     IDiscountService discountService,
     IPermissionService permissionService,
     IAclService aclService, 
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IExportManager exportManager, 
     IVendorService vendorService, 
     ICustomerActivityService customerActivityService,
     CataloguesSettings cataloguesSettings)
 {
     this._cataloguesService = cataloguesService;
     this._newsService = newsService;
     this._customerService = customerService;
     this._urlRecordService = urlRecordService;
     this._pictureService = pictureService;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._discountService = discountService;
     this._permissionService = permissionService;
     this._vendorService = vendorService;
     this._aclService = aclService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._exportManager = exportManager;
     this._customerActivityService = customerActivityService;
     this._cataloguesSettings = cataloguesSettings;
 }
        /// <summary>
        /// Ctor
        /// </summary>
        /// <param name="sciRepository">Shopping cart repository</param>
        /// <param name="workContext">Work context</param>
		/// <param name="storeContext">Store context</param>
        /// <param name="currencyService">Currency service</param>
        /// <param name="productService">Product settings</param>
        /// <param name="localizationService">Localization service</param>
        /// <param name="productAttributeParser">Product attribute parser</param>
        /// <param name="checkoutAttributeService">Checkout attribute service</param>
        /// <param name="checkoutAttributeParser">Checkout attribute parser</param>
        /// <param name="priceFormatter">Price formatter</param>
        /// <param name="customerService">Customer service</param>
        /// <param name="shoppingCartSettings">Shopping cart settings</param>
        /// <param name="eventPublisher">Event publisher</param>
        /// <param name="permissionService">Permission service</param>
        /// <param name="aclService">ACL service</param>
		/// <param name="storeMappingService">Store mapping service</param>
		/// <param name="genericAttributeService">Generic attribute service</param>
        public ShoppingCartService(IRepository<ShoppingCartItem> sciRepository,
			IWorkContext workContext, IStoreContext storeContext, 
			ICurrencyService currencyService,
            IProductService productService, ILocalizationService localizationService,
            IProductAttributeParser productAttributeParser,
			IProductAttributeService productAttributeService,
            ICheckoutAttributeService checkoutAttributeService,
            ICheckoutAttributeParser checkoutAttributeParser,
            IPriceFormatter priceFormatter,
            ICustomerService customerService,
            ShoppingCartSettings shoppingCartSettings,
            IEventPublisher eventPublisher,
            IPermissionService permissionService, 
            IAclService aclService,
			IStoreMappingService storeMappingService,
			IGenericAttributeService genericAttributeService,
			IDownloadService downloadService,
			CatalogSettings catalogSettings)
        {
            this._sciRepository = sciRepository;
            this._workContext = workContext;
			this._storeContext = storeContext;
            this._currencyService = currencyService;
            this._productService = productService;
            this._localizationService = localizationService;
            this._productAttributeParser = productAttributeParser;
			this._productAttributeService = productAttributeService;
            this._checkoutAttributeService = checkoutAttributeService;
            this._checkoutAttributeParser = checkoutAttributeParser;
            this._priceFormatter = priceFormatter;
            this._customerService = customerService;
            this._shoppingCartSettings = shoppingCartSettings;
            this._eventPublisher = eventPublisher;
            this._permissionService = permissionService;
            this._aclService = aclService;
			this._storeMappingService = storeMappingService;
			this._genericAttributeService = genericAttributeService;
			this._downloadService = downloadService;
			this._catalogSettings = catalogSettings;
        }
 public ProductController(IProductService productService, 
     IProductTemplateService productTemplateService,
     ICategoryService categoryService, 
     IManufacturerService manufacturerService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService, 
     IWorkContext workContext, 
     ILanguageService languageService, 
     ILocalizationService localizationService, 
     ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService, 
     IPictureService pictureService,
     ITaxCategoryService taxCategoryService, 
     IProductTagService productTagService,
     ICopyProductService copyProductService, 
     IPdfService pdfService,
     IExportManager exportManager, 
     IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService, 
     IAclService aclService,
     IStoreService storeService,
     IOrderService orderService,
     IStoreMappingService storeMappingService,
      IVendorService vendorService,
     IShippingService shippingService,
     IShipmentService shipmentService,
     ICurrencyService currencyService, 
     CurrencySettings currencySettings,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     AdminAreaSettings adminAreaSettings,
     IDateTimeHelper dateTimeHelper,
     IDiscountService discountService,
     IProductAttributeService productAttributeService,
     IBackInStockSubscriptionService backInStockSubscriptionService,
     IShoppingCartService shoppingCartService,
     IProductAttributeFormatter productAttributeFormatter,
     IProductAttributeParser productAttributeParser,
     IDownloadService downloadService)
 {
     this._productService = productService;
     this._productTemplateService = productTemplateService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._customerService = customerService;
     this._urlRecordService = urlRecordService;
     this._workContext = workContext;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._specificationAttributeService = specificationAttributeService;
     this._pictureService = pictureService;
     this._taxCategoryService = taxCategoryService;
     this._productTagService = productTagService;
     this._copyProductService = copyProductService;
     this._pdfService = pdfService;
     this._exportManager = exportManager;
     this._importManager = importManager;
     this._customerActivityService = customerActivityService;
     this._permissionService = permissionService;
     this._aclService = aclService;
     this._storeService = storeService;
     this._orderService = orderService;
     this._storeMappingService = storeMappingService;
     this._vendorService = vendorService;
     this._shippingService = shippingService;
     this._shipmentService = shipmentService;
     this._currencyService = currencyService;
     this._currencySettings = currencySettings;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
     this._adminAreaSettings = adminAreaSettings;
     this._dateTimeHelper = dateTimeHelper;
     this._discountService = discountService;
     this._productAttributeService = productAttributeService;
     this._backInStockSubscriptionService = backInStockSubscriptionService;
     this._shoppingCartService = shoppingCartService;
     this._productAttributeFormatter = productAttributeFormatter;
     this._productAttributeParser = productAttributeParser;
     this._downloadService = downloadService;
 }
		public ProductController(
			ICommonServices services,
			IManufacturerService manufacturerService,
			IProductService productService,
			IProductAttributeService productAttributeService,
			IProductAttributeParser productAttributeParser,
			ITaxService taxService,
			ICurrencyService currencyService,
			IPictureService pictureService,
			IPriceCalculationService priceCalculationService, 
			IPriceFormatter priceFormatter,
			ICustomerContentService customerContentService, 
			ICustomerService customerService,
			IShoppingCartService shoppingCartService,
			IRecentlyViewedProductsService recentlyViewedProductsService, 
			IWorkflowMessageService workflowMessageService, 
			IProductTagService productTagService,
			IOrderReportService orderReportService,
			IBackInStockSubscriptionService backInStockSubscriptionService, 
			IAclService aclService,
			IStoreMappingService storeMappingService,
			MediaSettings mediaSettings, 
			CatalogSettings catalogSettings,
			ShoppingCartSettings shoppingCartSettings,
			LocalizationSettings localizationSettings, 
			CaptchaSettings captchaSettings,
			CatalogHelper helper,
            IDownloadService downloadService,
            ILocalizationService localizationService)
        {
			this._services = services;
			this._manufacturerService = manufacturerService;
			this._productService = productService;
			this._productAttributeService = productAttributeService;
			this._productAttributeParser = productAttributeParser;
			this._taxService = taxService;
			this._currencyService = currencyService;
			this._pictureService = pictureService;
			this._priceCalculationService = priceCalculationService;
			this._priceFormatter = priceFormatter;
			this._customerContentService = customerContentService;
			this._customerService = customerService;
			this._shoppingCartService = shoppingCartService;
			this._recentlyViewedProductsService = recentlyViewedProductsService;
			this._workflowMessageService = workflowMessageService;
			this._productTagService = productTagService;
			this._orderReportService = orderReportService;
			this._backInStockSubscriptionService = backInStockSubscriptionService;
			this._aclService = aclService;
			this._storeMappingService = storeMappingService;
			this._mediaSettings = mediaSettings;
			this._catalogSettings = catalogSettings;
			this._shoppingCartSettings = shoppingCartSettings;
			this._localizationSettings = localizationSettings;
			this._captchaSettings = captchaSettings;
			this._helper = helper;
            this._downloadService = downloadService;
            this._localizationService = localizationService;

			T = NullLocalizer.Instance;
        }
 public GroupDealsController(
     IProductService productService,
     IProductTemplateService productTemplateService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService,
     IWorkContext workContext,
     ILanguageService languageService,
     ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService,
     IPictureService pictureService,
     ITaxCategoryService taxCategoryService,
     IProductTagService productTagService,
     ICopyProductService copyProductService,
     IPdfService pdfService,
     IExportManager exportManager,
     IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService,
     IAclService aclService,
     IStoreService storeService,
     IOrderService orderService,
     IStoreMappingService storeMappingService,
     IVendorService vendorService,
     IShippingService shippingService,
     IShipmentService shipmentService,
     ICurrencyService currencyService,
     CurrencySettings currencySettings,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     AdminAreaSettings adminAreaSettings,
     IDateTimeHelper dateTimeHelper,
     IDiscountService discountService,
     IProductAttributeService productAttributeService,
     IBackInStockSubscriptionService backInStockSubscriptionService,
     IShoppingCartService shoppingCartService,
     IProductAttributeFormatter productAttributeFormatter,
     IProductAttributeParser productAttributeParser,
     IDownloadService downloadService,
     IRepository<GroupDeal> groupDealRepo,
     IRepository<GroupdealPicture> groupdealPictureRepo,
     IGroupDealService groupdealService,
     IGenericAttributeService genericAttributeService)
     : base(productService,
     productTemplateService,
     categoryService,
     manufacturerService,
     customerService,
     urlRecordService,
     workContext,
     languageService,
     localizationService,
     localizedEntityService,
     specificationAttributeService,
     pictureService,
     taxCategoryService,
     productTagService,
     copyProductService,
     pdfService,
     exportManager,
     importManager,
     customerActivityService,
     permissionService,
     aclService,
     storeService,
     orderService,
     storeMappingService,
     vendorService,
     shippingService,
     shipmentService,
     currencyService,
     currencySettings,
     measureService,
     measureSettings,
     adminAreaSettings,
     dateTimeHelper,
     discountService,
     productAttributeService,
     backInStockSubscriptionService,
     shoppingCartService,
     productAttributeFormatter,
     productAttributeParser,
     downloadService,
     groupDealRepo,
     groupdealPictureRepo,
     groupdealService,
     genericAttributeService)
 { }
示例#54
0
 public CatalogController(ICategoryService categoryService, 
     IManufacturerService manufacturerService,
     IProductService productService, 
     IVendorService vendorService,
     ICategoryTemplateService categoryTemplateService,
     IManufacturerTemplateService manufacturerTemplateService,
     IWorkContext workContext, 
     IStoreContext storeContext,
     ITaxService taxService, 
     ICurrencyService currencyService,
     IPictureService pictureService, 
     ILocalizationService localizationService,
     IPriceCalculationService priceCalculationService,
     IPriceFormatter priceFormatter,
     IWebHelper webHelper, 
     ISpecificationAttributeService specificationAttributeService,
     IProductTagService productTagService,
     IGenericAttributeService genericAttributeService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService, 
     ICustomerActivityService customerActivityService,
     ITopicService topicService,
     IEventPublisher eventPublisher,
     ISearchTermService searchTermService,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     VendorSettings vendorSettings,
     BlogSettings blogSettings,
     ForumSettings  forumSettings,
     ICacheManager cacheManager)
 {
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._vendorService = vendorService;
     this._categoryTemplateService = categoryTemplateService;
     this._manufacturerTemplateService = manufacturerTemplateService;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._taxService = taxService;
     this._currencyService = currencyService;
     this._pictureService = pictureService;
     this._localizationService = localizationService;
     this._priceCalculationService = priceCalculationService;
     this._priceFormatter = priceFormatter;
     this._webHelper = webHelper;
     this._specificationAttributeService = specificationAttributeService;
     this._productTagService = productTagService;
     this._genericAttributeService = genericAttributeService;
     this._aclService = aclService;
     this._storeMappingService = storeMappingService;
     this._permissionService = permissionService;
     this._customerActivityService = customerActivityService;
     this._topicService = topicService;
     this._eventPublisher = eventPublisher;
     this._searchTermService = searchTermService;
     this._mediaSettings = mediaSettings;
     this._catalogSettings = catalogSettings;
     this._vendorSettings = vendorSettings;
     this._blogSettings = blogSettings;
     this._forumSettings = forumSettings;
     this._cacheManager = cacheManager;
 }
示例#55
0
        public VendorController(
            IProductService productService, 
            IProductTemplateService productTemplateService,
            IWorkContext workContext, 
            ITaxService taxService, 
            ICurrencyService currencyService,
            IPictureService pictureService, 
            ILocalizationService localizationService,
            IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter,
            IWebHelper webHelper, ISpecificationAttributeService specificationAttributeService,
            IGenericAttributeService genericAttributeService,
            IPermissionService permissionService, 
            ICustomerActivityService customerActivityService, 
            IAclService aclService,
            MediaSettings mediaSettings, CatalogSettings catalogSettings,
        
            ICacheManager cacheManager
            , IVendorService vendorService //add by hz
            , IVendorTemplateService vendorTemplateService //add by hz
            )
        {
            this._productService = productService;
            this._productTemplateService = productTemplateService;
            this._workContext = workContext;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._priceCalculationService = priceCalculationService;
            this._priceFormatter = priceFormatter;
            this._webHelper = webHelper;
            this._specificationAttributeService = specificationAttributeService;
            this._genericAttributeService = genericAttributeService;
            this._permissionService = permissionService;
            this._customerActivityService = customerActivityService;
            this._aclService = aclService;

            this._mediaSettings = mediaSettings;
            this._catalogSettings = catalogSettings;

            this._cacheManager = cacheManager;
            this._vendorService = vendorService; //add by hz
            this._vendorTemplateService = vendorTemplateService; // add by hz
        }
        //I think this is the method that uses dependancy injection to create the repos - as opposed to manual
        //see:http://alexwolfthoughts.com/creating-a-generic-repository-with-entity-framework-and-mvc
        public AUPublicController(IRepository<AUConsignorRecord> consignorRepo,
                                        IRepository<AUConsignmentRecord> consignmentRepo,
                                        IRepository<AUConsignorConsignmentRecord> consignorconsignmentRepo,
                                        IRepository<AUConsignorList> consignorlistRepo,
                                        IRepository<AUSaleRecord> saleRepo,
                                        IRepository<AUSessionRecord> sessionRepo,
                                        IRepository<AUIncrementRecord> incrementRepo,
                                        IRepository<AUAddressRecord> addressRepo,
                                        IRepository<AUCombAddress> combAddressRepo,
                                        IRepository<AULotList> lotlistRepo,
                                        IRepository<AUFeesRecord> feesRepo,
                                        IRepository<AUBidHistoryRecord> bidhistoryRepo,

                                        ICacheManager cacheManager,
                                        IPictureService pictureService,
                                        IConsignmentService consignmentservice,
                                        ILotService lotService,
                                        IForumService forumservice,

                                        IConsignorService consignorservice,
                                        IDateTimeHelper dateTimeHelper,
                                        IAuthenticationService authenticationService,
                                        ILocalizationService localizationService,
                                        ICountryService countryService,
                                        IStateProvinceService stateProvinceService, 
                                        IWorkContext workContext,                                        
                                        ICollectibleImportService collectibleimportService, 
                                        //IRepository<AUCombConsignorConsignment> combinedRepo,
                                        ICategoryService categoryService,
                                        IStoreService storeService,
                                        IShippingService shippingService,
                                        IPermissionService permissionService,
                                        IEventPublisher eventPublisher,
                                        ISettingService settings,
                                        IProductService productService,
                                        IDbContext dbContext,
                                        IPhilatelicPdfService philatelicpdfService,
                                        ICollectibleExportService collectibleexportService,
                                        IAUSaleService ausaleService,
                                        IAclService aclService,
                                        IStoreMappingService storeMappingService,
                                        CatalogSettings catalogSettings,
                                        IWebHelper webHelper,
                                        IPriceFormatter priceFormatter,
                                        ICurrencyService currencyService,
                                        IStoreContext storeContext,
                                        MediaSettings mediaSettings,
                                        IPriceCalculationService priceCalculationService,
                                        ISpecificationAttributeService specificationAttributeService,
                                        ITaxService taxService,
                                        ICategoryTemplateService categoryTemplateService,
                                        ICustomerActivityService customerActivityService,
                                        ShoppingCartSettings shoppingCartSettings,
                                        IAUCatalogService AUcatalogService,     
                                        IForumService forumService,             
                                        ICustomerService customerService,      
                                        ForumSettings forumSettings,          
                                        ILogger logger,
                                        IRecentlyViewedProductsService recentlyViewedProductsService,
                                        SeoSettings seoSettings,
                                        IVendorService vendorService,
                                        VendorSettings vendorSettings,
                                        IProductTagService productTagService,
                                        IProductTemplateService productTemplateService,
                                        IProductAttributeParser productAttributeParser,
                                        IManufacturerService manufacturerService,
                                        IMeasureService measureService,
                                        IProductAttributeService productAttributeService,
                                        CustomerSettings customerSettings,
                                        IGenericAttributeService genericAttributeService,
                                        ISearchTermService searchTermService,
                                        IShoppingCartService shoppingCartService,
                                        IProductAttributeFormatter productAttributeFormatter)                         
        {
            _cacheManager = cacheManager;
            _pictureService = pictureService;
            _lotService = lotService;
            _forumservice = forumservice;

            _consignorRepo = consignorRepo;
            _consignmentRepo = consignmentRepo;
            _consignorconsignmentRepo = consignorconsignmentRepo;
            _consignorService = consignorservice;
            _consignmentService = consignmentservice;
            _consignorlistRepo = consignorlistRepo;
            _saleRepo = saleRepo;
            _sessionRepo = sessionRepo;
            _incrementRepo = incrementRepo;
            _addressRepo = addressRepo;
            _combAddressRepo = combAddressRepo;
            _lotlistRepo = lotlistRepo;
            _feesRepo = feesRepo;
            _bidhistoryRepo = bidhistoryRepo;
            _dateTimeHelper = dateTimeHelper;
            _authenticationService = authenticationService;
            _localizationService = localizationService;
            _countryService = countryService;
            _stateProvinceService = stateProvinceService;
            _workContext = workContext;
            _collectibleimportService = collectibleimportService;
            _categoryService = categoryService;
            _storeService = storeService;
            _shippingService = shippingService;
            _permissionService = permissionService;
            _eventPublisher = eventPublisher;
            _settings = settings;
            _productService = productService;
            _dbContext = dbContext;
            _philatelicpdfService = philatelicpdfService;
            _collectibleexportService = collectibleexportService;
            _ausaleService = ausaleService;
            _aclService = aclService;
            _storeMappingService = storeMappingService;
            _catalogSettings = catalogSettings;
            _webHelper = webHelper;
            _priceFormatter = priceFormatter;
            _currencyService = currencyService;
            _storeContext = storeContext;
            _mediaSettings = mediaSettings;
            _priceCalculationService = priceCalculationService;
            _specificationAttributeService = specificationAttributeService;
            _taxService = taxService;
            _categoryTemplateService = categoryTemplateService;
            _customerActivityService = customerActivityService;
            _shoppingCartSettings = shoppingCartSettings;
            _AUcatalogService = AUcatalogService;      
            _forumService = forumService;              
            _customerService = customerService;       
            _forumSettings = forumSettings;            
            _logger = logger;
            _recentlyViewedProductsService = recentlyViewedProductsService;          
            _seoSettings = seoSettings;
            _vendorService = vendorService;
            _vendorSettings = vendorSettings;
            _productTemplateService = productTemplateService;
            _productTagService = productTagService;
            _productAttributeParser = productAttributeParser;
            _manufacturerService = manufacturerService;
            _measureService = measureService;
            _productAttributeService = productAttributeService;
            _customerSettings = customerSettings;
            _genericAttributeService = genericAttributeService;
            _searchTermService = searchTermService;
            _shoppingCartService = shoppingCartService;
            _productAttributeFormatter = productAttributeFormatter;
        }
示例#57
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="categoryRepository">Category repository</param>
 /// <param name="productCategoryRepository">ProductCategory repository</param>
 /// <param name="productRepository">Product repository</param>
 /// <param name="aclRepository">ACL record repository</param>
 /// <param name="storeMappingRepository">Store mapping repository</param>
 /// <param name="workContext">Work context</param>
 /// <param name="storeContext">Store context</param>
 /// <param name="eventPublisher">Event publisher</param>
 /// <param name="storeMappingService">Store mapping service</param>
 /// <param name="aclService">ACL service</param>
 /// <param name="catalogSettings">Catalog settings</param>
 public CategoryService(ICacheManager cacheManager,
     IRepository<Category> categoryRepository,
     IRepository<ProductCategory> productCategoryRepository,
     IRepository<Product> productRepository,
     IRepository<AclRecord> aclRepository,
     IRepository<StoreMapping> storeMappingRepository,
     IWorkContext workContext,
     IStoreContext storeContext,
     IEventPublisher eventPublisher,
     IStoreMappingService storeMappingService,
     IAclService aclService,
     CatalogSettings catalogSettings)
 {
     this._cacheManager = cacheManager;
     this._categoryRepository = categoryRepository;
     this._productCategoryRepository = productCategoryRepository;
     this._productRepository = productRepository;
     this._aclRepository = aclRepository;
     this._storeMappingRepository = storeMappingRepository;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._eventPublisher = eventPublisher;
     this._storeMappingService = storeMappingService;
     this._aclService = aclService;
     this._catalogSettings = catalogSettings;
 }
 public ProductController(ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IProductService productService,
     IVendorService vendorService,
     IProductTemplateService productTemplateService,
     IProductAttributeService productAttributeService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ITaxService taxService,
     ICurrencyService currencyService,
     IPictureService pictureService,
     ILocalizationService localizationService,
     IMeasureService measureService,
     IPriceCalculationService priceCalculationService,
     IPriceFormatter priceFormatter,
     IWebHelper webHelper,
     ISpecificationAttributeService specificationAttributeService,
     IDateTimeHelper dateTimeHelper,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     ICompareProductsService compareProductsService,
     IWorkflowMessageService workflowMessageService,
     IProductTagService productTagService,
     IOrderReportService orderReportService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService,
     IDownloadService downloadService,
     ICustomerActivityService customerActivityService,
     IProductAttributeParser productAttributeParser,
     IShippingService shippingService,
     IEventPublisher eventPublisher,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     VendorSettings vendorSettings,
     ShoppingCartSettings shoppingCartSettings,
     LocalizationSettings localizationSettings,
     CustomerSettings customerSettings,
     CaptchaSettings captchaSettings,
     SeoSettings seoSettings,
     ICacheManager cacheManager)
 {
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._vendorService = vendorService;
     this._productTemplateService = productTemplateService;
     this._productAttributeService = productAttributeService;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._taxService = taxService;
     this._currencyService = currencyService;
     this._pictureService = pictureService;
     this._localizationService = localizationService;
     this._measureService = measureService;
     this._priceCalculationService = priceCalculationService;
     this._priceFormatter = priceFormatter;
     this._webHelper = webHelper;
     this._specificationAttributeService = specificationAttributeService;
     this._dateTimeHelper = dateTimeHelper;
     this._recentlyViewedProductsService = recentlyViewedProductsService;
     this._compareProductsService = compareProductsService;
     this._workflowMessageService = workflowMessageService;
     this._productTagService = productTagService;
     this._orderReportService = orderReportService;
     this._aclService = aclService;
     this._storeMappingService = storeMappingService;
     this._permissionService = permissionService;
     this._downloadService = downloadService;
     this._customerActivityService = customerActivityService;
     this._productAttributeParser = productAttributeParser;
     this._shippingService = shippingService;
     this._eventPublisher = eventPublisher;
     this._mediaSettings = mediaSettings;
     this._catalogSettings = catalogSettings;
     this._vendorSettings = vendorSettings;
     this._shoppingCartSettings = shoppingCartSettings;
     this._localizationSettings = localizationSettings;
     this._customerSettings = customerSettings;
     this._captchaSettings = captchaSettings;
     this._seoSettings = seoSettings;
     this._cacheManager = cacheManager;
 }
示例#59
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="sciRepository">Shopping cart repository</param>
 /// <param name="workContext">Work context</param>
 /// <param name="storeContext">Store context</param>
 /// <param name="currencyService">Currency service</param>
 /// <param name="productService">Product settings</param>
 /// <param name="localizationService">Localization service</param>
 /// <param name="productAttributeParser">Product attribute parser</param>
 /// <param name="checkoutAttributeService">Checkout attribute service</param>
 /// <param name="checkoutAttributeParser">Checkout attribute parser</param>
 /// <param name="priceFormatter">Price formatter</param>
 /// <param name="customerService">Customer service</param>
 /// <param name="shoppingCartSettings">Shopping cart settings</param>
 /// <param name="eventPublisher">Event publisher</param>
 /// <param name="permissionService">Permission service</param>
 /// <param name="aclService">ACL service</param>
 /// <param name="storeMappingService">Store mapping service</param>
 /// <param name="genericAttributeService">Generic attribute service</param>
 /// <param name="productAttributeService">Product attribute service</param>
 /// <param name="dateTimeHelper">Datetime helper</param>
 public ShoppingCartService(
     IWorkContext workContext, 
     IStoreContext storeContext,
     ICurrencyService currencyService,
     IProductService productService, 
     ILocalizationService localizationService,
     IProductAttributeParser productAttributeParser,
     ICheckoutAttributeService checkoutAttributeService,
     ICheckoutAttributeParser checkoutAttributeParser,
     IPriceFormatter priceFormatter,
     ICustomerService customerService,
     ShoppingCartSettings shoppingCartSettings,
     IEventPublisher eventPublisher,
     IPermissionService permissionService, 
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IGenericAttributeService genericAttributeService,
     IProductAttributeService productAttributeService,
     IDateTimeHelper dateTimeHelper)
 {
     //this._sciRepository = sciRepository;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._currencyService = currencyService;
     this._productService = productService;
     this._localizationService = localizationService;
     this._productAttributeParser = productAttributeParser;
     this._checkoutAttributeService = checkoutAttributeService;
     this._checkoutAttributeParser = checkoutAttributeParser;
     this._priceFormatter = priceFormatter;
     this._customerService = customerService;
     this._shoppingCartSettings = shoppingCartSettings;
     this._eventPublisher = eventPublisher;
     this._permissionService = permissionService;
     this._aclService = aclService;
     this._storeMappingService = storeMappingService;
     this._genericAttributeService = genericAttributeService;
     this._productAttributeService = productAttributeService;
     this._dateTimeHelper = dateTimeHelper;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="cataloguesRepository">Catalogues repository</param>
 /// <param name="newsCataloguesRepository">NewsCatalogues repository</param>
 /// <param name="newsRepository">News repository</param>
 /// <param name="aclRepository">ACL record repository</param>
 /// <param name="storeMappingRepository">Store mapping repository</param>
 /// <param name="workContext">Work context</param>
 /// <param name="storeContext">Store context</param>
 /// <param name="eventPublisher">Event publisher</param>
 /// <param name="storeMappingService">Store mapping service</param>
 /// <param name="aclService">ACL service</param>
 /// <param name="catalogSettings">Catalog settings</param>
 public CataloguesService(ICacheManager cacheManager,
     IRepository<Catalogues> cataloguesRepository,
     IRepository<NewsCatalogues> newsCataloguesRepository,
     IRepository<NewsItem> newsRepository,
     IRepository<AclRecord> aclRepository,
     IRepository<StoreMapping> storeMappingRepository,
     IWorkContext workContext,
     IStoreContext storeContext,
     IEventPublisher eventPublisher,
     IStoreMappingService storeMappingService,
     IAclService aclService
   )
 {
     this._cacheManager = cacheManager;
     this._cataloguesRepository = cataloguesRepository;
     this._newsCataloguesRepository = newsCataloguesRepository;
     this._newsRepository = newsRepository;
     this._aclRepository = aclRepository;
     this._storeMappingRepository = storeMappingRepository;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._eventPublisher = eventPublisher;
     this._storeMappingService = storeMappingService;
     this._aclService = aclService;
 }