public PageSearchServiceDecorator( PageSearchService parent, SearchClientService searchClientService, PageService pageService, UrlService urlService, SearchPermissionService searchPermissionService, TargetGroupEngine targetGroupEngine) : base(targetGroupEngine) { _parent = parent; _searchClientService = searchClientService; _pageService = pageService; _urlService = urlService; _permissionDescriptor = b => b.Should(searchPermissionService.GetPermissions().Select <string, Func <QueryContainerDescriptor <PageDocument>, QueryContainer> >(x => s => s.Term(t => t.Field(p => p.Blocks.First().Permissions).Value(x)))); }
public ProductSearchServiceDecorator( ProductSearchService parent, SearchClientService searchClientService, RequestModelAccessor requestModelAccessor, SearchResultTransformationService searchResultTransformationService, SearchQueryBuilder searchQueryBuilder, TargetGroupEngine targetGroupEngine, FieldDefinitionService fieldDefinitionService) : base(targetGroupEngine) { _parent = parent; _searchClientService = searchClientService; _requestModelAccessor = requestModelAccessor; _searchResultTransformationService = searchResultTransformationService; _searchQueryBuilder = searchQueryBuilder; _fieldDefinitionService = fieldDefinitionService; }
public CategorySearchServiceDecorator( CategorySearchService parent, SearchClientService searchClientService, CategoryService categoryService, UrlService urlService, RequestModelAccessor requestModelAccessor, PersonStorage personStorage, TargetGroupEngine targetGroupEngine) : base(targetGroupEngine) { _parent = parent; _searchClientService = searchClientService; _categoryService = categoryService; _urlService = urlService; _requestModelAccessor = requestModelAccessor; _personStorage = personStorage; }
public PaymentWidgetService( SecurityToken securityToken, ModuleECommerce moduleECommerce, TargetGroupEngine targetGroupEngine, CartAccessor cartAccessor, ChannelService channelService, LanguageService languageService, DistributedLockService distributedLockService) { _cartAccessor = cartAccessor; _channelService = channelService; _languageService = languageService; _distributedLockService = distributedLockService; _securityToken = securityToken; _targetGroupEngine = targetGroupEngine; _moduleECommerce = moduleECommerce; }
public ProductSearchServiceImpl(TargetGroupEngine targetGroupEngine) : base(targetGroupEngine) { }
protected ProductSearchService( TargetGroupEngine targetGroupEngine) { _targetGroupEngine = targetGroupEngine; }
public CategorySearchServiceImpl(TargetGroupEngine targetGroupEngine) : base(targetGroupEngine) { }
protected CategorySearchService( TargetGroupEngine targetGroupEngine) { _targetGroupEngine = targetGroupEngine; }
protected PageSearchService( TargetGroupEngine targetGroupEngine) { _targetGroupEngine = targetGroupEngine; }