Example #1
0
 public DuplicateRuleExecutor(IAppContext appContext
                              , IDuplicateRuleFinder duplicateRuleFinder
                              , IDuplicateRuleConditionService duplicateRuleConditionService
                              , IDataFinder dataFinder)
 {
     _appContext                    = appContext;
     _loc                           = _appContext.GetFeature <ILocalizedTextProvider>();
     _duplicateRuleFinder           = duplicateRuleFinder;
     _duplicateRuleConditionService = duplicateRuleConditionService;
     _dataFinder                    = dataFinder;
 }
Example #2
0
 public DuplicateRuleImporter(IAppContext appContext
                              , IDuplicateRuleCreater duplicateRuleCreater
                              , IDuplicateRuleUpdater duplicateRuleUpdater
                              , IDuplicateRuleFinder duplicateRuleFinder
                              , IDuplicateRuleConditionService duplicateRuleConditionService)
 {
     _appContext                    = appContext;
     _duplicateRuleCreater          = duplicateRuleCreater;
     _duplicateRuleUpdater          = duplicateRuleUpdater;
     _duplicateRuleFinder           = duplicateRuleFinder;
     _duplicateRuleConditionService = duplicateRuleConditionService;
 }
Example #3
0
 public DuplicateRuleCreater(IAppContext appContext
                             , IDuplicateRuleRepository duplicateRuleRepository
                             , IDuplicateRuleConditionService duplicateRuleConditionService
                             , ILocalizedLabelService localizedLabelService
                             , IDuplicateRuleDependency dependencyService
                             , IEntityPluginCreater entityPluginCreater)
 {
     _appContext = appContext;
     _duplicateRuleRepository       = duplicateRuleRepository;
     _localizedLabelService         = localizedLabelService;
     _duplicateRuleConditionService = duplicateRuleConditionService;
     _dependencyService             = dependencyService;
     _entityPluginCreater           = entityPluginCreater;
     _cacheService = new Caching.CacheManager <DuplicateRule>(_appContext.OrganizationUniqueName + ":duplicaterules", DuplicateRuleCache.BuildKey);
 }
 public DuplicateRuleUpdaterController(IWebAppContext appContext
                                       , ISolutionService solutionService
                                       , IEntityFinder entityFinder
                                       , IDuplicateRuleCreater duplicateRuleCreater
                                       , IDuplicateRuleUpdater duplicateRuleUpdater
                                       , IDuplicateRuleFinder duplicateRuleFinder
                                       , IDuplicateRuleDeleter duplicateRuleDeleter
                                       , IDuplicateRuleConditionService duplicateRuleConditionService)
     : base(appContext, solutionService)
 {
     _entityFinder                  = entityFinder;
     _duplicateRuleCreater          = duplicateRuleCreater;
     _duplicateRuleUpdater          = duplicateRuleUpdater;
     _duplicateRuleFinder           = duplicateRuleFinder;
     _duplicateRuleDeleter          = duplicateRuleDeleter;
     _duplicateRuleConditionService = duplicateRuleConditionService;
 }