/// <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);
 }
Exemple #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);
        }
        /// <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 ? (ConfigManager.Config.DataflowConfiguration.IgnoreExternalUsage ? DataflowFilter.Usage : 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);

            #region "10.2 ISTAT ENHANCEMENTS"

            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);

            #endregion
        }