예제 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SpecialMutableObjectRetrievalManager"/> class.
        /// </summary>
        /// <param name="connectionStringSettings">
        /// The connection string settings.
        /// </param>
        public SpecialMutableObjectRetrievalManager(ConnectionStringSettings connectionStringSettings)
        {
            var mappingStoreDb = new Database(connectionStringSettings);

            this._codeListRetrievalEngine = new PartialCodeListRetrievalEngine(mappingStoreDb);
            this._subsetCodelistRetrieval = new SubsetCodelistRetrievalEngine(mappingStoreDb);
        }
예제 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="RetrievalEngineContainer"/> class.
        /// </summary>
        /// <param name="mappingStoreDB">
        /// The mapping Store DB.
        /// </param>
        public RetrievalEngineContainer(Database mappingStoreDB)
        {
            DataflowFilter filter = ConfigManager.Config.DataflowConfiguration.IgnoreProductionForStructure ? DataflowFilter.Any : DataflowFilter.Production;

            this._categorisationRetrievalEngine             = new CategorisationRetrievalEngine(mappingStoreDB, filter);
            this._categorySchemeRetrievalEngine             = new CategorySchemeRetrievalEngine(mappingStoreDB);
            this._codeListRetrievalEngine                   = new CodeListRetrievalEngine(mappingStoreDB);
            this._conceptSchemeRetrievalEngine              = new ConceptSchemeRetrievalEngine(mappingStoreDB);
            this._dataflowRetrievalEngine                   = new DataflowRetrievalEngine(mappingStoreDB, filter);
            this._dsdRetrievalEngine                        = new DsdRetrievalEngine(mappingStoreDB);
            this._hclRetrievalEngine                        = new HierarchicalCodeListRetrievealEngine(mappingStoreDB);
            this._partialCodeListRetrievalEngine            = new PartialCodeListRetrievalEngine(mappingStoreDB);
            this._agencySchemeListRetrievalEngine           = new AgencySchemeRetrievalEngine(mappingStoreDB);
            this._organisationUnitSchemeListRetrievalEngine = new OrganisationUnitSchemeRetrievalEngine(mappingStoreDB);
            this._dataProviderSchemeListRetrievalEngine     = new DataProviderSchemeRetrievalEngine(mappingStoreDB);
            this._dataConsumerSchemeListRetrievalEngine     = new DataConsumerSchemeRetrievalEngine(mappingStoreDB);
            this._structureSetRetrievalEngine               = new StructureSetRetrievalEngine(mappingStoreDB);
            this._contentConstraintListRetrievalEngine      = new ContentConstraintRetrievalEngine(mappingStoreDB);
        }