示例#1
0
        public CatalogExportImport(
            ICatalogSearchService catalogSearchService,
            ICatalogService catalogService,
            ICategoryService categoryService,
            IItemService itemService,
            IPropertyService propertyService,
            IBlobStorageProvider blobStorageProvider,
            IAssociationService associationService,
            ISettingsManager settingsManager,
            IProperyDictionaryItemSearchService propertyDictionarySearchService,
            IProperyDictionaryItemService propertyDictionaryService
            )
        {
            _blobStorageProvider             = blobStorageProvider;
            _catalogSearchService            = catalogSearchService;
            _catalogService                  = catalogService;
            _categoryService                 = categoryService;
            _itemService                     = itemService;
            _propertyService                 = propertyService;
            _associationService              = associationService;
            _settingsManager                 = settingsManager;
            _propertyDictionarySearchService = propertyDictionarySearchService;
            _propertyDictionaryService       = propertyDictionaryService;

            _serializer = new JsonSerializer
            {
                ReferenceLoopHandling = ReferenceLoopHandling.Ignore,
                Formatting            = Formatting.Indented,
                NullValueHandling     = NullValueHandling.Ignore
            };
        }
 public CatalogModulePropertyDictionaryItemsController(ISecurityService securityService, IPermissionScopeService permissionScopeService, IProperyDictionaryItemSearchService propertyDictionarySearchService,
                                                       IProperyDictionaryItemService propertyDictionaryService)
     : base(securityService, permissionScopeService)
 {
     _propertyDictionarySearchService = propertyDictionarySearchService;
     _propertyDictionaryService       = propertyDictionaryService;
 }
 public CatalogBrowseFiltersController(ISecurityService securityService, IPermissionScopeService permissionScopeService, IStoreService storeService, IPropertyService propertyService, IBrowseFilterService browseFilterService, IProperyDictionaryItemSearchService propDictItemsSearchService)
     : base(securityService, permissionScopeService)
 {
     _storeService               = storeService;
     _propertyService            = propertyService;
     _browseFilterService        = browseFilterService;
     _propDictItemsSearchService = propDictItemsSearchService;
 }
示例#4
0
 //Workaround: Bad design to use repository in the controller layer, need to extend in the future IPropertyService.Delete with new parameter DeleteAllValues
 public CatalogModulePropertiesController(IPropertyService propertyService, ICategoryService categoryService, ICatalogService catalogService,
                                          IProperyDictionaryItemSearchService propertyDictionarySearchService)
 {
     _propertyService = propertyService;
     _categoryService = categoryService;
     _catalogService  = catalogService;
     _propertyDictionarySearchService = propertyDictionarySearchService;
 }
示例#5
0
 public CatalogBrowseFiltersController(IStoreService storeService, IPropertyService propertyService, IBrowseFilterService browseFilterService,
                                       IProperyDictionaryItemSearchService propDictItemsSearchService, IPropertySearchService propertySearchService)
 {
     _storeService               = storeService;
     _propertyService            = propertyService;
     _browseFilterService        = browseFilterService;
     _propDictItemsSearchService = propDictItemsSearchService;
     _propertySearchService      = propertySearchService;
 }
示例#6
0
 public CatalogModulePropertiesController(IPropertyService propertyService, ICategoryService categoryService, ICatalogService catalogService,
                                          ISecurityService securityService, IPermissionScopeService permissionScopeService, Func <ICatalogRepository> repositoryFactory,
                                          IProperyDictionaryItemSearchService propertyDictionarySearchService)
     : base(securityService, permissionScopeService)
 {
     _propertyService   = propertyService;
     _categoryService   = categoryService;
     _catalogService    = catalogService;
     _repositoryFactory = repositoryFactory;
     _propertyDictionarySearchService = propertyDictionarySearchService;
 }
示例#7
0
 public CatalogExportImport(ICatalogService catalogService, IProductSearchService productSearchService, ICategorySearchService categorySearchService, ICategoryService categoryService,
                            IItemService itemService, IPropertyService propertyService, IPropertySearchService propertySearchService, IProperyDictionaryItemSearchService propertyDictionarySearchService, IProperyDictionaryItemService propertyDictionaryService, IOptions <MvcJsonOptions> jsonOptions
                            , IBlobStorageProvider blobStorageProvider)
 {
     _catalogService                  = catalogService;
     _productSearchService            = productSearchService;
     _categorySearchService           = categorySearchService;
     _categoryService                 = categoryService;
     _itemService                     = itemService;
     _propertyService                 = propertyService;
     _propertySearchService           = propertySearchService;
     _propertyDictionarySearchService = propertyDictionarySearchService;
     _propertyDictionaryService       = propertyDictionaryService;
     _jsonSerializer                  = JsonSerializer.Create(jsonOptions.Value.SerializerSettings);
     _blobStorageProvider             = blobStorageProvider;
 }
 public CatalogExportPagedDataSourceFactory(
     IPropertyService propertyService
     , IProperyDictionaryItemSearchService propertyDictionaryItemSearchService
     , IBlobStorageProvider blobStorageProvider
     , IItemService itemService
     , ICatalogSearchService catalogSearchService
     , IBlobUrlResolver blobUrlResolver
     , ICategoryService categoryService)
 {
     _propertyService = propertyService;
     _propertyDictionaryItemSearchService = propertyDictionaryItemSearchService;
     _blobStorageProvider  = blobStorageProvider;
     _itemService          = itemService;
     _catalogSearchService = catalogSearchService;
     _blobUrlResolver      = blobUrlResolver;
     _categoryService      = categoryService;
 }
示例#9
0
 public CatalogExportImport(ICatalogService catalogService, IProductSearchService productSearchService, ICategorySearchService categorySearchService, ICategoryService categoryService,
                            IItemService itemService, IPropertyService propertyService, IPropertySearchService propertySearchService, IProperyDictionaryItemSearchService propertyDictionarySearchService,
                            IProperyDictionaryItemService propertyDictionaryService, JsonSerializer jsonSerializer, IBlobStorageProvider blobStorageProvider, IAssociationService associationService)
 {
     _catalogService                  = catalogService;
     _productSearchService            = productSearchService;
     _categorySearchService           = categorySearchService;
     _categoryService                 = categoryService;
     _itemService                     = itemService;
     _propertyService                 = propertyService;
     _propertySearchService           = propertySearchService;
     _propertyDictionarySearchService = propertyDictionarySearchService;
     _propertyDictionaryService       = propertyDictionaryService;
     _jsonSerializer                  = jsonSerializer;
     _blobStorageProvider             = blobStorageProvider;
     _associationService              = associationService;
 }
 public CsvCatalogImporter(ICatalogService catalogService, ICategoryService categoryService, IItemService productService, ISkuGenerator skuGenerator,
                           IPricingService pricingService, IInventoryService inventoryService, IFulfillmentCenterSearchService fulfillmentCenterSearchService,
                           IPropertyService propertyService, ICatalogSearchService searchService, Func <ICatalogRepository> catalogRepositoryFactory, IPricingSearchService pricingSearchService,
                           ISettingsManager settingsManager, IStoreService storeService, IProperyDictionaryItemSearchService propDictItemSearchService, IProperyDictionaryItemService propDictItemService)
 {
     _catalogService   = catalogService;
     _categoryService  = categoryService;
     _productService   = productService;
     _skuGenerator     = skuGenerator;
     _pricingService   = pricingService;
     _inventoryService = inventoryService;
     _fulfillmentCenterSearchService = fulfillmentCenterSearchService;
     _propertyService                = propertyService;
     _searchService                  = searchService;
     _catalogRepositoryFactory       = catalogRepositoryFactory;
     _pricingSearchService           = pricingSearchService;
     _storeService                   = storeService;
     _propDictItemSearchService      = propDictItemSearchService;
     _propDictItemService            = propDictItemService;
     _createPropertyDictionatyValues = settingsManager.GetValue("CsvCatalogImport.CreateDictionaryValues", false);
 }
 public AggregationConverter(IBrowseFilterService browseFilterService, IPropertyService propertyService, IProperyDictionaryItemSearchService propDictItemsSearchService)
 {
     _browseFilterService        = browseFilterService;
     _propertyService            = propertyService;
     _propDictItemsSearchService = propDictItemsSearchService;
 }
示例#12
0
 public CatalogModulePropertyDictionaryItemsController(IProperyDictionaryItemSearchService propertyDictionarySearchService,
                                                       IProperyDictionaryItemService propertyDictionaryService)
 {
     _propertyDictionarySearchService = propertyDictionarySearchService;
     _propertyDictionaryService       = propertyDictionaryService;
 }
 public PropertyDictionaryItemExportPagedDataSource(
     IProperyDictionaryItemSearchService propertyDictionarySearchService,
     PropertyDictionaryItemExportDataQuery dataQuery) : base(dataQuery)
 {
     _propertyDictionarySearchService = propertyDictionarySearchService;
 }