public ProductEditorCommandController( // base dependencies IContentDefinitionService contentDefinitionService, IProductService productService, IReadOnlyArticleService articleService, EditorSchemaService editorSchemaService, EditorDataService editorDataService, EditorPartialContentService editorPartialContentService, EditorLocaleService editorLocaleService, // self dependencies IFieldService fieldService, IProductUpdateService productUpdateService, CloneBatchAction cloneBatchAction, DeleteAction deleteAction, PublishAction publishAction) : base(contentDefinitionService, productService, articleService, editorSchemaService, editorDataService, editorPartialContentService, editorLocaleService) { _fieldService = fieldService; _productUpdateService = productUpdateService; _cloneBatchAction = cloneBatchAction; _deleteAction = deleteAction; _publishAction = publishAction; }
public AdminController( ISession session, ISiteService siteService, IContentManager contentManager, IAuthorizationService authorizationService, IContentDefinitionService contentDefinitionService, IContentDefinitionDisplayManager contentDefinitionDisplayManager, IShapeFactory shapeFactory, IContentItemDisplayManager contentItemDisplayManager, IEnumerable <IContentAdminFilter> contentAdminFilters, ILogger <AdminController> logger, IContentDefinitionManager contentDefinitionManager ) { _contentDefinitionDisplayManager = contentDefinitionDisplayManager; _contentManager = contentManager; _authorizationService = authorizationService; _contentDefinitionManager = contentDefinitionManager; _contentDefinitionService = contentDefinitionService; _session = session; _siteService = siteService; New = shapeFactory; _contentAdminFilters = contentAdminFilters; _contentItemDisplayManager = contentItemDisplayManager; Logger = logger; }
public AdminController(IOrchardServices orchardServices, IContentDefinitionService contentDefinitionService, IContentDefinitionManager contentDefinitionManager) { Services = orchardServices; _contentDefinitionService = contentDefinitionService; _contentDefinitionManager = contentDefinitionManager; T = NullLocalizer.Instance; }
public AdminController( IOrchardServices orchardServices, IContentManager contentManager, IContentDefinitionManager contentDefinitionManager, IContentDefinitionService contentDefinitionService, ITransactionManager transactionManager, ISiteService siteService, IShapeFactory shapeFactory, ICultureManager cultureManager, IRepository <CultureRecord> cultureRepo, INotifier notifier, IUserService userService, IDateLocalization dataLocalization, ITaxonomyService taxonomyService, IRepository <FieldIndexPartRecord> cpfRepo, ILocalizationService localizationService) { Services = orchardServices; _contentManager = contentManager; _contentDefinitionManager = contentDefinitionManager; _contentDefinitionService = contentDefinitionService; _transactionManager = transactionManager; _siteService = siteService; _cultureManager = cultureManager; _cultureRepo = cultureRepo; T = NullLocalizer.Instance; Logger = NullLogger.Instance; Shape = shapeFactory; _taxonomyService = taxonomyService; _dataLocalization = dataLocalization; _userService = userService; _notifier = notifier; _cpfRepo = cpfRepo; _localizationService = localizationService; }
public JsonSchemaController( IContentDefinitionService contentDefinitionService, JsonProductService jsonProductService) { _contentDefinitionService = contentDefinitionService; _jsonProductService = jsonProductService; }
public AdminController( IContentDefinitionDisplayManager contentDefinitionDisplayManager, IContentDefinitionService contentDefinitionService, IContentDefinitionManager contentDefinitionManager, ShellSettings settings, IAuthorizationService authorizationService, ISession session, ILogger<AdminController> logger, IHtmlLocalizer<AdminMenu> htmlLocalizer, IStringLocalizer<AdminMenu> stringLocalizer, INotifier notifier ) { _notifier = notifier; _contentDefinitionDisplayManager = contentDefinitionDisplayManager; _session = session; _authorizationService = authorizationService; _contentDefinitionService = contentDefinitionService; _contentDefinitionManager = contentDefinitionManager; _settings = settings; Logger = logger; T = htmlLocalizer; S = stringLocalizer; }
public ProductEditorQueryController( // base dependencies IContentDefinitionService contentDefinitionService, IProductService productService, IReadOnlyArticleService articleService, EditorSchemaService editorSchemaService, EditorDataService editorDataService, EditorPartialContentService editorPartialContentService, EditorLocaleService editorLocaleService, // self dependencies PublicationStatusService publicationStatusService, EditorPreloadingService editorPreloadingService, EditorCustomActionService editorCustomActionService) : base(contentDefinitionService, productService, articleService, editorSchemaService, editorDataService, editorPartialContentService, editorLocaleService) { _publicationStatusService = publicationStatusService; _editorPreloadingService = editorPreloadingService; _editorCustomActionService = editorCustomActionService; }
public AdminController( IContentDefinitionDisplayManager contentDefinitionDisplayManager, IContentDefinitionService contentDefinitionService, IContentDefinitionManager contentDefinitionManager, ShellSettings settings, IAuthorizationService authorizationService, ISession session, ILogger <AdminController> logger, IHtmlLocalizer <AdminMenu> htmlLocalizer, IStringLocalizer <AdminMenu> stringLocalizer, INotifier notifier ) { _notifier = notifier; _contentDefinitionDisplayManager = contentDefinitionDisplayManager; _session = session; _authorizationService = authorizationService; _contentDefinitionService = contentDefinitionService; _contentDefinitionManager = contentDefinitionManager; _settings = settings; Logger = logger; T = htmlLocalizer; S = stringLocalizer; }
public BasicDataCommand( IContentDefinitionManager contentDefinitionManager, IContentDefinitionService contentDefinitionService, IOrchardServices services, IContentManager contentManager, INavigationManager navigationManager, IMembershipService membershipService, IAuthenticationService authenticationService, ISiteService siteService, IRepository <WorkflowDefinitionRecord> workflowDefinitionRepository, IRepository <ActivityRecord> activityRepository, IRepository <TicketTypeRecord> ticketTypeRepository, IRepository <TransitionRecord> transitionRepository, IRepository <StatusRecord> statusRepository, IRepository <EmailTemplateRecord> emailTemplatesRepository, IRepository <PriorityRecord> priorityRepository, IIndexManager indexManager) { this.contentDefinitionService = contentDefinitionService; this.indexManager = indexManager; this.contentDefinitionManager = contentDefinitionManager; this.emailTemplatesRepository = emailTemplatesRepository; this.transitionRepository = transitionRepository; this.activityRepository = activityRepository; this.workflowDefinitionRepository = workflowDefinitionRepository; this.siteService = siteService; this.authenticationService = authenticationService; this.membershipService = membershipService; this.statusRepository = statusRepository; this.ticketTypeRepository = ticketTypeRepository; this.priorityRepository = priorityRepository; this.contentManager = contentManager; }
public AdminController(IContentManager contentManager, IContentDefinitionService contentDefinitionService, IAuthorizationService authorizationService, IContentDefinitionManager contentDefinitionManager, IRoleService roleService) { _contentManager = contentManager; _contentDefinitionService = contentDefinitionService; _authorizationService = authorizationService; _contentDefinitionManager = contentDefinitionManager; _roleService = roleService; }
public CategoryAdminController(IProductService productService, IOrchardServices orchardServices, IContentManager contentManager, IContentDefinitionService contentDefinitionService, IContentDefinitionEditorEvents contentDefinitionEditorEvents) { _productService = productService; _orchardServices = orchardServices; _contentManager = contentManager; _contentDefinitionService = contentDefinitionService; _contentDefinitionEditorEvents = contentDefinitionEditorEvents; T = NullLocalizer.Instance; }
public EntityController( IContentDefinitionService contentDefinitionService, ISchemaUpdateService schemaUpdateService, IEntityEvents entityEvents) { _contentDefinitionService = contentDefinitionService; _schemaUpdateService = schemaUpdateService; _entityEvents = entityEvents; T = NullLocalizer.Instance; }
public ReferenceFieldEditorEvents( IContentDefinitionService contentDefinitionService, IContentManager contentManager, IRelationshipService relationshipService, IHttpContextAccessor httpContextAccessor) { _contentDefinitionService = contentDefinitionService; _contentManager = contentManager; _relationshipService = relationshipService; _httpContextAccessor = httpContextAccessor; T = NullLocalizer.Instance; }
public GlobalContentDefinitionEditorEvents( IAuditTrailManager auditTrailManager, IWorkContextAccessor wca, IContentDefinitionService contentDefinitionService, ISettingsFormatter settingsFormatter) { _auditTrailManager = auditTrailManager; _wca = wca; _contentDefinitionService = contentDefinitionService; _settingsFormatter = settingsFormatter; }
public ProductAttributeService( IEnumerable <IProductAttributeProvider> attributeProviders, IContentDefinitionManager contentDefinitionManager, IContentDefinitionService contentDefinitionService, IMemoryCache cache) { _attributeProviders = attributeProviders; _contentDefinitionManager = contentDefinitionManager; _contentDefinitionService = contentDefinitionService; _cache = cache; }
public ReferenceFieldEditorEvents( IContentDefinitionService contentDefinitionService, IContentManager contentManager, IRelationshipService relationshipService, IRepository<OneToManyRelationshipRecord> repository) { _contentDefinitionService = contentDefinitionService; _contentManager = contentManager; _relationshipService = relationshipService; _repository = repository; T = NullLocalizer.Instance; }
public RelationshipEntityEventsHandler( IRelationshipService relationshipService, IRepository<OneToManyRelationshipRecord> oneToManyRelationshipRepository, IContentDefinitionService contentDefinitionService, IFieldEvents fieldEvents, ISchemaUpdateService schemaUpdateService) { _relationshipService = relationshipService; _oneToManyRelationshipRepository = oneToManyRelationshipRepository; _contentDefinitionService = contentDefinitionService; _fieldEvents = fieldEvents; _schemaUpdateService = schemaUpdateService; }
public FieldController( IContentDefinitionService contentDefinitionService, IContentDefinitionManager contentDefinitionManager, IFieldEvents fieldEvents, ISchemaUpdateService schemaUpdateService) { _contentDefinitionService = contentDefinitionService; _contentDefinitionManager = contentDefinitionManager; _fieldEvents = fieldEvents; _schemaUpdateService = schemaUpdateService; T = NullLocalizer.Instance; }
public CloneBatchAction( IArticleService articleService, IFieldService fieldService, IProductService productService, Func <ITransaction> createTransaction, IContentDefinitionService definitionService, ICacheItemWatcher cacheItemWatcher) : base(articleService, fieldService, productService, createTransaction) { _definitionService = definitionService; _cacheItemWatcher = cacheItemWatcher; }
public ReferenceFieldEditorEvents( IContentDefinitionService contentDefinitionService, IContentManager contentManager, IRelationshipService relationshipService, IRepository <OneToManyRelationshipRecord> repository) { _contentDefinitionService = contentDefinitionService; _contentManager = contentManager; _relationshipService = relationshipService; _repository = repository; T = NullLocalizer.Instance; }
public SystemAdminController( IOrchardServices orchardServices, IContentDefinitionService contentDefinitionService, IRepository<ContentTypeDefinitionRecord> contentTypeDefinitionRepository, IContentManager contentManager, INavigationManager navigationManager) { Services = orchardServices; _contentDefinitionService = contentDefinitionService; _contentTypeDefinitionRepository = contentTypeDefinitionRepository; _contentManager = contentManager; _navigationManager = navigationManager; T = NullLocalizer.Instance; }
public ContentTypesController( IOrchardServices orchardServices, IContentDefinitionService contentDefinitionService, IContentDefinitionManager contentDefinitionManager, Lazy <IEnumerable <IShellSettingsManagerEventHandler> > settingsManagerEventHandlers, ShellSettings settings) { Services = orchardServices; _contentDefinitionService = contentDefinitionService; _contentDefinitionManager = contentDefinitionManager; _settingsManagerEventHandlers = settingsManagerEventHandlers; _settings = settings; }
public DefinitionEditorController(IContentDefinitionService contentDefinitionService, DefinitionEditorService definitionEditorService, IFieldService fieldService, IServiceFactory serviceFactory, ICacheItemWatcher cacheItemWatcher) { _contentDefinitionService = contentDefinitionService; _definitionEditorService = definitionEditorService; definitionEditorService.PathSeparator = DefinitionTreeNode.Separator; _fieldService = fieldService; _contentService = serviceFactory.GetContentService(); _cacheItemWatcher = cacheItemWatcher; }
public SystemAdminController( IOrchardServices orchardServices, IContentDefinitionService contentDefinitionService, IRepository <ContentTypeDefinitionRecord> contentTypeDefinitionRepository, IContentManager contentManager, INavigationManager navigationManager) { Services = orchardServices; _contentDefinitionService = contentDefinitionService; _contentTypeDefinitionRepository = contentTypeDefinitionRepository; _contentManager = contentManager; _navigationManager = navigationManager; T = NullLocalizer.Instance; }
public CRMSetup( IContentDefinitionManager contentDefinitionManager, IRepository <StatusRecord> statusRepository, IRepository <PriorityRecord> priorityRepository, IRepository <TicketTypeRecord> ticketTypeRepository, IOrchardServices orchardServices, IRepository <ContentTypeDefinitionRecord> contentTypeDefinitionRecordRepository, IContentDefinitionService contentDefinitionService, Orchard.Widgets.Services.IWidgetsService widgetService, IContentManager contentManager, IMembershipService membershipService, IAuthenticationService authenticationService, ISiteService siteService, IMenuService menuService, IRepository <PropertyRecord> propertyRecordRepository, INavigationManager navigationManager, IRepository <WorkflowDefinitionRecord> workflowDefinitionRepository, IRepository <ActivityRecord> activityRepository, IRepository <EmailTemplateRecord> emailTemplatesRepository, IRepository <TransitionRecord> transitionRepository, IIndexManager indexManager) { this.widgetService = widgetService; this.contentTypeDefinitionRecordRepository = contentTypeDefinitionRecordRepository; this.contentDefinitionService = contentDefinitionService; this.propertyRecordRepository = propertyRecordRepository; this.contentManager = contentManager; this.membershipService = membershipService; this.siteService = siteService; this.navigationManager = navigationManager; this.authenticationService = authenticationService; this.OperatorMenuCommand = new BasicDataCommand( contentDefinitionManager, contentDefinitionService, orchardServices, this.contentManager, this.navigationManager, this.membershipService, this.authenticationService, this.siteService, workflowDefinitionRepository, activityRepository, ticketTypeRepository, transitionRepository, statusRepository, emailTemplatesRepository, priorityRepository, indexManager); }
public ArticleDependencyService(IContentDefinitionService contentDefinitionService, IServiceFactory serviceFactory, VersionedCacheProviderBase cacheProvider, ISettingsService settingsService, IConnectionProvider connectionProvider) { _contentDefinitionService = contentDefinitionService; _customer = connectionProvider.GetCustomer(); _cacheProvider = cacheProvider; _prodDefContentId = int.Parse(settingsService.GetSetting(SettingsTitles.PRODUCT_DEFINITIONS_CONTENT_ID)); _articleService = serviceFactory.GetArticleService(); _fieldService = serviceFactory.GetFieldService(); }
public RelationshipController( IRelationshipService relationshipService, IRepository<RelationshipRecord> relationshipRepository, IRepository<OneToManyRelationshipRecord> oneToManyRelationshipRepository, IContentDefinitionService contentDefinitionService, IFieldEvents fieldEvents, ISchemaUpdateService schemaUpdateService) { _relationshipService = relationshipService; _relationshipRepository = relationshipRepository; _oneToManyRelationshipRepository = oneToManyRelationshipRepository; _contentDefinitionService = contentDefinitionService; _fieldEvents = fieldEvents; _schemaUpdateService = schemaUpdateService; T = NullLocalizer.Instance; }
public ContentMetadataService( IOrchardServices services, ISettingsFormatter settingsFormatter, IContentDefinitionService contentDefinitionService, ISchemaUpdateService schemaUpdateService, IEntityEvents entityEvents, IRepository<ContentFieldDefinitionRecord> fieldDefinitionRepository, IContentDefinitionEditorEvents contentDefinitionEditorEvents) { _contentDefinitionService = contentDefinitionService; _schemaUpdateService = schemaUpdateService; _entityEvents = entityEvents; _settingsFormatter = settingsFormatter; _fieldDefinitionRepository = fieldDefinitionRepository; _contentDefinitionEditorEvents = contentDefinitionEditorEvents; Services = services; }
public JsonProductFormatter( IJsonProductService jsonProductService, IContentDefinitionService contentDefinitionService, ISettingsService settingsService, IProductContentResolver productContentResolver, IHttpContextAccessor httpContextAccessor, IActionContextAccessor actionContextAccessor ) { _jsonProductService = jsonProductService; _contentDefinitionService = contentDefinitionService; _settingsService = settingsService; _productContentResolver = productContentResolver; _httpContext = httpContextAccessor?.HttpContext; _actionContext = actionContextAccessor?.ActionContext; }
// GET: /Admin/ public AdminController(IContentTypePermissionSettingsService contentTypePermissionSettingsService, IAuthenticationService authenticationService, IMembershipService membershipService, IOrchardServices orcharcServices, IContentDefinitionService contentDefinitionService, IRoleService roleService // IPermissionProvider permissionProvider ) { _contentTypePermissionSettingsService = contentTypePermissionSettingsService; _authenticationService = authenticationService; _membershipService = membershipService; _orchardServices = orcharcServices; T = NullLocalizer.Instance; _contentDefinitionService = contentDefinitionService; _roleService = roleService; // _permissionProvider = permissionProvider; }
public LocalSystemCachedLoader(IContentDefinitionService definitionService, VersionedCacheProviderBase cacheProvider, ICacheItemWatcher cacheItemWatcher, IReadOnlyArticleService articleService, IFieldService fieldService, ISettingsService settingsService, IList <IConsumerMonitoringService> consumerMonitoringServices, IArticleFormatter formatter, IConnectionProvider connectionProvider) : base(definitionService, cacheProvider, cacheItemWatcher, articleService, fieldService, settingsService, consumerMonitoringServices, formatter, connectionProvider) { DataDirectory = AppDomain.CurrentDomain.GetData("DataDirectory") as string; if (DataDirectory == null) { throw new InvalidOperationException("Должен быть определен DataDirectory"); } ArchiveFiles = true; }
public ContentMetadataService( IOrchardServices services, ISettingsFormatter settingsFormatter, IContentDefinitionService contentDefinitionService, ISchemaUpdateService schemaUpdateService, IEntityEvents entityEvents, IRepository <ContentFieldDefinitionRecord> fieldDefinitionRepository, IContentDefinitionEditorEvents contentDefinitionEditorEvents) { _contentDefinitionService = contentDefinitionService; _schemaUpdateService = schemaUpdateService; _entityEvents = entityEvents; _settingsFormatter = settingsFormatter; _fieldDefinitionRepository = fieldDefinitionRepository; _contentDefinitionEditorEvents = contentDefinitionEditorEvents; Services = services; }
public ProductEditorController( IContentDefinitionService contentDefinitionService, IProductService productService, IReadOnlyArticleService articleService, EditorSchemaService editorSchemaService, EditorDataService editorDataService, EditorPartialContentService editorPartialContentService, EditorLocaleService editorLocaleService) { _contentDefinitionService = contentDefinitionService; _productService = productService; _articleService = articleService; _editorSchemaService = editorSchemaService; _editorDataService = editorDataService; _editorPartialContentService = editorPartialContentService; _editorLocaleService = editorLocaleService; }
public AdminController( IOrchardServices orchardServices, IContentDefinitionService contentDefinitionService, IContentDefinitionManager contentDefinitionManager, IPlacementService placementService, Lazy <IEnumerable <IShellSettingsManagerEventHandler> > settingsManagerEventHandlers, ShellSettings settings ) { Services = orchardServices; _contentDefinitionService = contentDefinitionService; _contentDefinitionManager = contentDefinitionManager; _placementService = placementService; _settingsManagerEventHandlers = settingsManagerEventHandlers; _settings = settings; T = NullLocalizer.Instance; }
public ProductAPIService ( IContentDefinitionService contentDefinitionService, IProductService productService, IProductSearchService productSearchService, IProductUpdateService productUpdateService, IUserProvider userProvider, Func <string, IAction> getAction, IProductRelevanceService relevanceService ) { _contentDefinitionService = contentDefinitionService; _productService = productService; _productSearchService = productSearchService; _productUpdateService = productUpdateService; _userProvider = userProvider; _getAction = getAction; _relevanceService = relevanceService; }
public AdminController( IContentDefinitionService contentDefinitionService, IContentDefinitionManager contentDefinitionManager, ShellSettings settings, IAuthorizationService authorizationService, ISession session, ILogger<AdminController> logger, IStringLocalizer<AdminMenu> localizer ) { _session = session; _authorizationService = authorizationService; _contentDefinitionService = contentDefinitionService; _contentDefinitionManager = contentDefinitionManager; _settings = settings; Logger = logger; T = localizer; }
public AdminController( IContentDefinitionService contentDefinitionService, IContentDefinitionManager contentDefinitionManager, ShellSettings settings, IAuthorizationService authorizationService, ISession session, ILogger <AdminController> logger, IStringLocalizer <AdminMenu> localizer ) { _session = session; _authorizationService = authorizationService; _contentDefinitionService = contentDefinitionService; _contentDefinitionManager = contentDefinitionManager; _settings = settings; Logger = logger; T = localizer; }
public DocumentController(IStore store, ISession session, IContentManager contentManager, IOrchardHelper orchardHelper, IContentDefinitionService contentDefinitionService, IContentDefinitionManager contentDefinitionManager, IRoleService roleService, RoleManager <IRole> roleManager, IEnumerable <IPermissionProvider> permissionProviders, IAuthorizationService authorizationService) { _store = store; _session = session; _contentManager = contentManager; _orchardHelper = orchardHelper; _contentDefinitionService = contentDefinitionService; _contentDefinitionManager = contentDefinitionManager; _authorizationService = authorizationService; _roleService = roleService; _roleManager = roleManager; _permissionProviders = permissionProviders; }
public RelationshipService( IRepository<RelationshipRecord> relationshipRepository, IRepository<OneToManyRelationshipRecord> oneToManyRepository, IRepository<ManyToManyRelationshipRecord> manyToManyRepository, IRepository<ContentPartDefinitionRecord> contentPartRepository, IContentDefinitionManager contentDefinitionManager, IContentDefinitionService contentDefinitionService, IDynamicAssemblyBuilder dynamicAssemblyBuilder, ISchemaUpdateService schemaUpdateService, IContentManager contentManager, IFieldEvents fieldEvents) { _relationshipRepository = relationshipRepository; _oneToManyRepository = oneToManyRepository; _manyToManyRepository = manyToManyRepository; _contentPartRepository = contentPartRepository; _contentDefinitionManager = contentDefinitionManager; _contentDefinitionService = contentDefinitionService; _dynamicAssemblyBuilder = dynamicAssemblyBuilder; _schemaUpdateService = schemaUpdateService; _contentManager = contentManager; _fieldEvents = fieldEvents; }
public AdminController( IContentDefinitionDisplayManager contentDefinitionDisplayManager, IContentDefinitionService contentDefinitionService, IContentDefinitionManager contentDefinitionManager, IAuthorizationService authorizationService, IDocumentStore documentStore, IHtmlLocalizer <AdminController> htmlLocalizer, IStringLocalizer <AdminController> stringLocalizer, INotifier notifier, IUpdateModelAccessor updateModelAccessor) { _notifier = notifier; _contentDefinitionDisplayManager = contentDefinitionDisplayManager; _documentStore = documentStore; _authorizationService = authorizationService; _contentDefinitionService = contentDefinitionService; _contentDefinitionManager = contentDefinitionManager; _updateModelAccessor = updateModelAccessor; H = htmlLocalizer; S = stringLocalizer; }
public ContentBasedProductControlProvider(IContentDefinitionService service) { _service = service; }
public DefaultStereotypesProvider(IContentDefinitionService contentDefinitionService) { _contentDefinitionService = contentDefinitionService; }