public QueryViewFinder(IAppContext appContext , IQueryViewRepository queryViewRepository , IRoleObjectAccessService roleObjectAccessService ) { _appContext = appContext; _queryViewRepository = queryViewRepository; _roleObjectAccessService = roleObjectAccessService; _cacheService = new Caching.CacheManager <Domain.QueryView>(_appContext.OrganizationUniqueName + ":queryviews", _appContext.PlatformSettings.CacheEnabled); }
public QueryCompiler( IQueryFactory queryFactory, IRuntime runtime, IQueryViewRepository queryViewRepository, [Import(typeof(AggregateQueryErrorListener))] IQueryErrorListener queryErrorListener) { _queryFactory = queryFactory; _runtime = runtime; _queryQueryErrorListener = queryErrorListener; Views = queryViewRepository; }
public QueryViewFinder(IAppContext appContext , IQueryViewRepository queryViewRepository //, ILocalizedLabelService localizedLabelService , IRoleObjectAccessService roleObjectAccessService ) { _appContext = appContext; _queryViewRepository = queryViewRepository; //_localizedLabelService = localizedLabelService; _roleObjectAccessService = roleObjectAccessService; _cacheService = new Caching.CacheManager <Domain.QueryView>(_appContext.OrganizationUniqueName + ":queryviews", QueryViewCache.BuildKey); }
public QueryViewManager( IQueryViewRepository queryViews, IFileSystem fileSystem, IFileWatcherFactory fileWatcherFactory) { _queryViews = queryViews; _fileSystem = fileSystem; _fileWatcher = fileWatcherFactory.Create(); _fileWatcher.Deleted += FileWatcherOnDeleted; _fileWatcher.Renamed += FileWatcherOnRenamed; _fileWatcher.Changed += FileWatcherOnChanged; }
public QueryViewUpdater(IAppContext appContext , IQueryViewRepository queryViewRepository , ILocalizedLabelService localizedLabelService , IQueryViewDependency dependencyService , IEventPublisher eventPublisher ) { _appContext = appContext; _currentUser = _appContext.GetFeature <ICurrentUser>(); _queryViewRepository = queryViewRepository; _localizedLabelService = localizedLabelService; _dependencyService = dependencyService; _eventPublisher = eventPublisher; _cacheService = new Caching.CacheManager <Domain.QueryView>(_appContext.OrganizationUniqueName + ":queryviews", QueryViewCache.BuildKey); }
public QueryViewCreater(IAppContext appContext , IQueryViewRepository queryViewRepository , IDefaultAttributeProvider defaultAttributeProvider , ILocalizedLabelBatchBuilder localizedLabelService , IQueryViewDependency dependencyService , IDefaultQueryViewProvider defaultQueryViewProvider) { _appContext = appContext; _queryViewRepository = queryViewRepository; _localizedLabelService = localizedLabelService; _defaultAttributeProvider = defaultAttributeProvider; _dependencyService = dependencyService; _defaultQueryViewProvider = defaultQueryViewProvider; _cacheService = new Caching.CacheManager <Domain.QueryView>(_appContext.OrganizationUniqueName + ":queryviews", QueryViewCache.BuildKey); }
public QueryViewDeleter(IAppContext appContext , IQueryViewRepository queryViewRepository , ILocalizedLabelService localizedLabelService , IQueryViewDependency dependencyService , IDependencyChecker dependencyChecker , IEventPublisher eventPublisher , IEnumerable <ICascadeDelete <Domain.QueryView> > cascadeDeletes) { _appContext = appContext; _queryViewRepository = queryViewRepository; _localizedLabelService = localizedLabelService; _dependencyService = dependencyService; _dependencyChecker = dependencyChecker; _eventPublisher = eventPublisher; _cascadeDeletes = cascadeDeletes; _cacheService = new Caching.CacheManager <Domain.QueryView>(_appContext.OrganizationUniqueName + ":queryviews", _appContext.PlatformSettings.CacheEnabled); }
public ViewSuggestionProviderFactory(IQueryViewRepository views) { _views = views; }