Example #1
0
 public DefaultDynamicContentEvaluatorImpl(Func <IMarketingRepository> repositoryFactory, IDynamicContentService dynamicContentService, IExpressionSerializer expressionSerializer, ILog logger)
 {
     _repositoryFactory     = repositoryFactory;
     _dynamicContentService = dynamicContentService;
     _expressionSerializer  = expressionSerializer;
     _logger = logger;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DynamicContentClient" /> class.
 /// </summary>
 /// <param name="service">The service.</param>
 /// <param name="customerSession">The customer session.</param>
 /// <param name="cacheRepository">The cache repository.</param>
 public DynamicContentClient(IDynamicContentService service, ICustomerSessionService customerSession, ICacheRepository cacheRepository)
 {
     _cacheRepository = cacheRepository;
     _customerSession = customerSession;
     _service         = service;
     _isEnabled       = DynamicContentConfiguration.Instance.Cache.IsEnabled;
 }
 public MarketingModuleDynamicContentController(IDynamicContentService dynamicContentService, IMarketingExtensionManager marketingExtensionManager,
     IMarketingDynamicContentEvaluator dynamicContentEvaluator)
 {
     _dynamicContentService = dynamicContentService;
     _marketingExtensionManager = marketingExtensionManager;
     _dynamicContentEvaluator = dynamicContentEvaluator;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="DynamicContentClient" /> class.
        /// </summary>
        /// <param name="contentRepository">The content repository.</param>
        /// <param name="service">The service.</param>
        /// <param name="customerSession">The customer session.</param>
        /// <param name="cacheRepository">The cache repository.</param>
        public DynamicContentClient(IDynamicContentRepository contentRepository, IDynamicContentService service, ICustomerSessionService customerSession, ICacheRepository cacheRepository)
        {
		    _cacheRepository = cacheRepository;
            _customerSession = customerSession;
            _service = service;
            _isEnabled = DynamicContentConfiguration.Instance.Cache.IsEnabled;
        }
Example #5
0
 public MarketingModuleDynamicContentController(IDynamicContentService dynamicContentService, IMarketingExtensionManager marketingExtensionManager,
                                                IMarketingDynamicContentEvaluator dynamicContentEvaluator)
 {
     _dynamicContentService     = dynamicContentService;
     _marketingExtensionManager = marketingExtensionManager;
     _dynamicContentEvaluator   = dynamicContentEvaluator;
 }
 public ContentItemsSearchService(Func <IMarketingRepository> repositoryFactory, IPlatformMemoryCache platformMemoryCache,
                                  IDynamicContentService dynamicContentService)
 {
     _repositoryFactory     = repositoryFactory;
     _platformMemoryCache   = platformMemoryCache;
     _dynamicContentService = dynamicContentService;
 }
Example #7
0
 public MarketingServicesDecorator(CacheManagerAdaptor cacheManager, IDynamicContentService contentService, IPromotionSearchService promoSearchService, IPromotionService promoService, ICouponService couponService)
 {
     _contentService     = contentService;
     _cacheManager       = cacheManager;
     _promoSearchService = promoSearchService;
     _promotionService   = promoService;
     _couponService      = couponService;
 }
Example #8
0
 public MarketingSearchServiceImpl(Func <IMarketingRepository> repositoryFactory, IDynamicContentService dynamicContentService, IPromotionService promotionService
                                   , IPlatformMemoryCache platformMemoryCache)
 {
     _repositoryFactory     = repositoryFactory;
     _dynamicContentService = dynamicContentService;
     _promotionService      = promotionService;
     _platformMemoryCache   = platformMemoryCache;
 }
 public MarketingExportImport(IPromotionSearchService promotionSearchService, IPromotionService promotionService, IDynamicContentService dynamicContentService, ICouponService couponService, IDynamicContentSearchService dynamicContentSearchService, IPromotionUsageService marketingUsageService)
 {
     _promotionSearchService      = promotionSearchService;
     _promotionService            = promotionService;
     _dynamicContentService       = dynamicContentService;
     _couponService               = couponService;
     _dynamicContentSearchService = dynamicContentSearchService;
     _usageService = marketingUsageService;
 }
 public MarketingModuleDynamicContentController(IDynamicContentService dynamicContentService, IMarketingExtensionManager marketingExtensionManager,
                                                IMarketingDynamicContentEvaluator dynamicContentEvaluator, IExpressionSerializer expressionSerializer, IDynamicContentSearchService dynamicConentSearchService)
 {
     _dynamicContentService      = dynamicContentService;
     _marketingExtensionManager  = marketingExtensionManager;
     _dynamicContentEvaluator    = dynamicContentEvaluator;
     _expressionSerializer       = expressionSerializer;
     _dynamicConentSearchService = dynamicConentSearchService;
 }
Example #11
0
 public CommonListModel(IDynamicContentService dynamicContent, string itemType)
 {
     DynamicContent   = dynamicContent;
     ItemType         = itemType;
     this.ContentType = TypeResolutionService.ResolveType(ItemType);
     if (this.ProviderName == null)
     {
         this.ProviderName = GetManager().Provider.Name;
     }
 }
 public MarketingExportImport(JsonSerializer jsonSerializer, IPromotionSearchService promotionSearchService, IDynamicContentSearchService dynamicContentSearchService, IPromotionService promotionService, IDynamicContentService dynamicContentService, ICouponService couponService, IPromotionUsageService promotionUsageService)
 {
     _jsonSerializer              = jsonSerializer;
     _promotionSearchService      = promotionSearchService;
     _dynamicContentSearchService = dynamicContentSearchService;
     _promotionService            = promotionService;
     _dynamicContentService       = dynamicContentService;
     _couponService         = couponService;
     _promotionUsageService = promotionUsageService;
 }
Example #13
0
 public MarketingModuleDynamicContentController(
     IDynamicContentService dynamicContentService,
     IMarketingDynamicContentEvaluator dynamicContentEvaluator,
     IContentPublicationsSearchService contentPublicationsSearchService,
     IFolderSearchService folderSearchService,
     IContentPlacesSearchService contentPlacesSearchService,
     IContentItemsSearchService contentItemsSearchService)
 {
     _dynamicContentService            = dynamicContentService;
     _dynamicContentEvaluator          = dynamicContentEvaluator;
     _contentPublicationsSearchService = contentPublicationsSearchService;
     _folderSearchService        = folderSearchService;
     _contentPlacesSearchService = contentPlacesSearchService;
     _contentItemsSearchService  = contentItemsSearchService;
 }
 public MarketingExportImport(JsonSerializer jsonSerializer, IPromotionSearchService promotionSearchService,
                              IContentPublicationsSearchService contentPublicationsSearchService, IPromotionService promotionService,
                              IDynamicContentService dynamicContentService, ICouponService couponService,
                              IPromotionUsageService promotionUsageService, IContentItemsSearchService contentItemsSearchService,
                              ICouponSearchService couponSearchService, IContentPlacesSearchService contentPlacesSearchService,
                              IPromotionUsageSearchService promotionUsageSearchService, IFolderSearchService folderSearchService)
 {
     _jsonSerializer                   = jsonSerializer;
     _promotionSearchService           = promotionSearchService;
     _contentPublicationsSearchService = contentPublicationsSearchService;
     _promotionService                 = promotionService;
     _dynamicContentService            = dynamicContentService;
     _couponService               = couponService;
     _promotionUsageService       = promotionUsageService;
     _contentItemsSearchService   = contentItemsSearchService;
     _couponSearchService         = couponSearchService;
     _contentPlacesSearchService  = contentPlacesSearchService;
     _promotionUsageSearchService = promotionUsageSearchService;
     _folderSearchService         = folderSearchService;
 }
 public DefaultDynamicContentEvaluatorImpl(Func <IMarketingRepository> repositoryFactory, IDynamicContentService dynamicContentService, ILogger <DefaultDynamicContentEvaluatorImpl> logger)
 {
     _repositoryFactory     = repositoryFactory;
     _dynamicContentService = dynamicContentService;
     _logger = logger;
 }
		public MarketingSearchServiceImpl(Func<IMarketingRepository> repositoryFactory, IMarketingExtensionManager customPromotionManager, IDynamicContentService dynamicContentService)
		{
			_repositoryFactory = repositoryFactory;
			_customPromotionManager = customPromotionManager;
			_dynamicContentService = dynamicContentService;
		}
Example #17
0
 public MarketingSearchServiceImpl(Func <IMarketingRepository> repositoryFactory, IDynamicContentService dynamicContentService, IPromotionService promotionSrevice)
 {
     _repositoryFactory     = repositoryFactory;
     _dynamicContentService = dynamicContentService;
     _promotionSrevice      = promotionSrevice;
 }
		public DefaultDynamicContentEvaluatorImpl(Func<IMarketingRepository> repositoryFactory, IDynamicContentService dynamicContentService)
		{
			_repositoryFactory = repositoryFactory;
			_dynamicContentService = dynamicContentService;
		}
Example #19
0
 public DefaultDynamicContentEvaluator(IContentPublicationsSearchService contentPublicationsSearchService, IDynamicContentService dynamicContentService, ILogger <DefaultDynamicContentEvaluator> logger)
 {
     _contentPublicationsSearchService = contentPublicationsSearchService;
     _dynamicContentService            = dynamicContentService;
     _logger = logger;
 }
Example #20
0
 public MarketingExportImport(IMarketingSearchService marketingSearchService, IPromotionService promotionService, IDynamicContentService dynamicContentService)
 {
     _marketingSearchService = marketingSearchService;
     _promotionService       = promotionService;
     _dynamicContentService  = dynamicContentService;
 }
Example #21
0
 public MarketingSearchServiceImpl(Func <IMarketingRepository> repositoryFactory, IMarketingExtensionManager customPromotionManager, IDynamicContentService dynamicContentService)
 {
     _repositoryFactory      = repositoryFactory;
     _customPromotionManager = customPromotionManager;
     _dynamicContentService  = dynamicContentService;
 }
 public DefaultDynamicContentEvaluatorImpl(Func <IMarketingRepository> repositoryFactory, IDynamicContentService dynamicContentService)
 {
     _repositoryFactory     = repositoryFactory;
     _dynamicContentService = dynamicContentService;
 }
 public MarketingExportImport(IMarketingSearchService marketingSearchService, IPromotionService promotionService, IDynamicContentService dynamicContentService)
 {
     _marketingSearchService = marketingSearchService;
     _promotionService = promotionService;
     _dynamicContentService = dynamicContentService;
 }