public LocalizedLabelBatchBuilder(IAppContext appContext,
                                   ILocalizedLabelService localizedLabelService)
 {
     _localizedLabelService = localizedLabelService;
     _entities   = new List <LocalizedLabel>();
     _appContext = appContext;
 }
Exemple #2
0
 public AttributeUpdater(IAppContext appContext
                         , IAttributeRepository attributeRepository
                         , IOptionSetDetailCreater optionSetDetailCreater
                         , IOptionSetDetailDeleter optionSetDetailDeleter
                         , IOptionSetDetailFinder optionSetDetailFinder
                         , IOptionSetDetailUpdater optionSetDetailUpdater
                         , IOptionSetFinder optionSetFinder
                         , IStringMapCreater stringMapCreater
                         , IStringMapUpdater stringMapUpdater
                         , ILocalizedLabelService localizedLabelService
                         , IEventPublisher eventPublisher)
 {
     _appContext             = appContext;
     _attributeRepository    = attributeRepository;
     _localizedLabelService  = localizedLabelService;
     _optionSetDetailCreater = optionSetDetailCreater;
     _optionSetDetailDeleter = optionSetDetailDeleter;
     _optionSetDetailFinder  = optionSetDetailFinder;
     _optionSetDetailUpdater = optionSetDetailUpdater;
     _optionSetFinder        = optionSetFinder;
     _stringMapCreater       = stringMapCreater;
     _stringMapUpdater       = stringMapUpdater;
     _eventPublisher         = eventPublisher;
     _cacheService           = new Caching.CacheManager <Domain.Attribute>(_appContext.OrganizationUniqueName + ":attributes", AttributeCache.BuildKey);
     _cacheServiceOption     = new Caching.CacheManager <Domain.OptionSet>(_appContext.OrganizationUniqueName + ":optionsets");
 }
 public OptionSetDetailDeleter(IAppContext appContext
                               , IOptionSetDetailRepository optionSetDetailRepository
                               , ILocalizedLabelService localizedLabelService)
 {
     _appContext = appContext;
     _optionSetDetailRepository = optionSetDetailRepository;
     _localizedLabelService     = localizedLabelService;
 }
Exemple #4
0
 public StringMapUpdater(IAppContext appContext
                         , IStringMapRepository stringMapRepository
                         , ILocalizedLabelService localizedLabelService)
 {
     _appContext            = appContext;
     _stringMapRepository   = stringMapRepository;
     _localizedLabelService = localizedLabelService;
 }
Exemple #5
0
 public WebResourceUpdater(IAppContext appContext
                           , IWebResourceRepository webResourceRepository
                           , ILocalizedLabelService localizedLabelService)
 {
     _appContext            = appContext;
     _webResourceRepository = webResourceRepository;
     _localizedLabelService = localizedLabelService;
     _cacheService          = new Caching.CacheManager <Domain.WebResource>(_appContext.OrganizationUniqueName + "webresource", _appContext.PlatformSettings.CacheEnabled);
 }
Exemple #6
0
 public OptionSetUpdater(IAppContext appContext
                         , IOptionSetRepository optionSetRepository
                         , ILocalizedLabelService localizedLabelService)
 {
     _appContext            = appContext;
     _optionSetRepository   = optionSetRepository;
     _localizedLabelService = localizedLabelService;
     _cacheService          = new Caching.CacheManager <Domain.OptionSet>(_appContext.OrganizationUniqueName + ":optionsets", _appContext.PlatformSettings.CacheEnabled);
 }
Exemple #7
0
 public ChartCreater(IAppContext appContext
                     , IChartRepository chartRepository
                     , ILocalizedLabelService localizedLabelService
                     , IChartDependency dependencyService)
 {
     _appContext            = appContext;
     _chartRepository       = chartRepository;
     _localizedLabelService = localizedLabelService;
     _dependencyService     = dependencyService;
 }
Exemple #8
0
 public EntityFinder(IAppContext appContext
                     , IEntityRepository entityRepository
                     , ILocalizedLabelService localizedLabelService
                     )
 {
     _appContext            = appContext;
     _entityRepository      = entityRepository;
     _localizedLabelService = localizedLabelService;
     _cacheService          = new Caching.CacheManager <Domain.Entity>(_appContext.OrganizationUniqueName + ":entities", _appContext.PlatformSettings.CacheEnabled);
 }
Exemple #9
0
 public WorkFlowUpdater(IAppContext appContext
                        , IWorkFlowRepository workFlowRepository
                        , ILocalizedLabelService localizedLabelService
                        , IEventPublisher eventPublisher)
 {
     _appContext            = appContext;
     _workFlowRepository    = workFlowRepository;
     _localizedLabelService = localizedLabelService;
     _eventPublisher        = eventPublisher;
 }
Exemple #10
0
 public RibbonButtonDeleter(IRibbonButtonRepository ribbonButtonRepository
                            , ILocalizedLabelService localizedLabelService
                            , IRibbonButtonDependency dependencyService
                            , IDependencyChecker dependencyChecker)
 {
     _ribbonButtonRepository = ribbonButtonRepository;
     _localizedLabelService  = localizedLabelService;
     _dependencyService      = dependencyService;
     _dependencyChecker      = dependencyChecker;
 }
Exemple #11
0
 public ChartDeleter(IChartRepository chartRepository
                     , ILocalizedLabelService localizedLabelService
                     , IChartDependency dependencyService
                     , IDependencyChecker dependencyChecker)
 {
     _chartRepository       = chartRepository;
     _localizedLabelService = localizedLabelService;
     _dependencyService     = dependencyService;
     _dependencyChecker     = dependencyChecker;
 }
Exemple #12
0
 public PrivilegeService(IAppContext appContext,
                         IPrivilegeRepository privilegeRepository
                         , ILocalizedLabelService localizedLabelService
                         , IEventPublisher eventPublisher)
 {
     _appContext            = appContext;
     _privilegeRepository   = privilegeRepository;
     _localizedLabelService = localizedLabelService;
     _eventPublisher        = eventPublisher;
     _cacheService          = new Caching.CacheManager <Privilege>(_appContext.OrganizationUniqueName + ":privileges", BuildKey, PreCacheAll);
 }
Exemple #13
0
 public DuplicateRuleUpdater(IAppContext appContext
                             , IDuplicateRuleRepository duplicateRuleRepository
                             , ILocalizedLabelService localizedLabelService
                             , IDuplicateRuleDependency dependencyService)
 {
     _appContext = appContext;
     _duplicateRuleRepository = duplicateRuleRepository;
     _localizedLabelService   = localizedLabelService;
     _dependencyService       = dependencyService;
     _cacheService            = new Caching.CacheManager <DuplicateRule>(_appContext.OrganizationUniqueName + ":duplicaterules", DuplicateRuleCache.BuildKey);
 }
Exemple #14
0
 public EntityUpdater(IAppContext appContext
                      , IEntityRepository entityRepository
                      , ILocalizedLabelService localizedLabelService
                      , IAttributeCreater attributeCreater)
 {
     _appContext            = appContext;
     _entityRepository      = entityRepository;
     _localizedLabelService = localizedLabelService;
     _cacheService          = new Caching.CacheManager <Domain.Entity>(_appContext.OrganizationUniqueName + ":entities", EntityCache.BuildKey);
     _attributeCreater      = attributeCreater;
 }
Exemple #15
0
 public WorkFlowCreater(IAppContext appContext
                        , IWorkFlowRepository workFlowRepository
                        , ILocalizedLabelService localizedLabelService
                        , ISolutionComponentService solutionComponentService
                        , IWorkFlowDependency dependencyService)
 {
     _appContext               = appContext;
     _workFlowRepository       = workFlowRepository;
     _localizedLabelService    = localizedLabelService;
     _solutionComponentService = solutionComponentService;
     _dependencyService        = dependencyService;
 }
Exemple #16
0
 public RibbonButtonUpdater(IAppContext appContext
                            , IRibbonButtonRepository ribbonButtonRepository
                            , ILocalizedLabelService localizedLabelService
                            , IRibbonButtonDependency dependencyService
                            , IEventPublisher eventPublisher)
 {
     _appContext             = appContext;
     _ribbonButtonRepository = ribbonButtonRepository;
     _localizedLabelService  = localizedLabelService;
     _dependencyService      = dependencyService;
     _eventPublisher         = eventPublisher;
 }
Exemple #17
0
 public WorkFlowDeleter(IWorkFlowRepository workFlowRepository
                        , ILocalizedLabelService localizedLabelService
                        , ISolutionComponentService solutionComponentService
                        , IWorkFlowDependency dependencyService
                        , IEventPublisher eventPublisher)
 {
     _workFlowRepository       = workFlowRepository;
     _localizedLabelService    = localizedLabelService;
     _solutionComponentService = solutionComponentService;
     _dependencyService        = dependencyService;
     _eventPublisher           = eventPublisher;
 }
Exemple #18
0
 public SerialNumberRuleUpdater(IAppContext appContext
                                , ISerialNumberRuleRepository serialNumberRuleRepository
                                , ILocalizedLabelService localizedLabelService
                                , ISerialNumberDependency dependencyService)
 {
     _appContext = appContext;
     _serialNumberRuleRepository = serialNumberRuleRepository;
     _loc = _appContext.GetFeature <ILocalizedTextProvider>();
     _localizedLabelService = localizedLabelService;
     _dependencyService     = dependencyService;
     _cacheService          = new Caching.CacheManager <Domain.SerialNumberRule>(SerialNumberRuleCache.CacheKey(_appContext), SerialNumberRuleCache.BuildKey);
 }
Exemple #19
0
 public WebResourceDeleter(IAppContext appContext
                           , IWebResourceRepository webResourceRepository
                           , ILocalizedLabelService localizedLabelService
                           , ISolutionComponentService solutionComponentService
                           , IDependencyService dependencyService
                           , IDependencyChecker dependencyChecker)
 {
     _appContext               = appContext;
     _webResourceRepository    = webResourceRepository;
     _localizedLabelService    = localizedLabelService;
     _solutionComponentService = solutionComponentService;
     _dependencyService        = dependencyService;
     _dependencyChecker        = dependencyChecker;
     _cacheService             = new Caching.CacheManager <Domain.WebResource>(_appContext.OrganizationUniqueName + "webresource");
 }
Exemple #20
0
 public SystemFormUpdater(IAppContext appContext
                          , ISystemFormRepository systemFormRepository
                          , ILocalizedLabelService localizedLabelService
                          , IFormService formService
                          , ISystemFormDependency dependencyService
                          , IEventPublisher eventPublisher)
 {
     _appContext            = appContext;
     _systemFormRepository  = systemFormRepository;
     _localizedLabelService = localizedLabelService;
     _formService           = formService;
     _dependencyService     = dependencyService;
     _eventPublisher        = eventPublisher;
     _cacheService          = new Caching.CacheManager <Domain.SystemForm>(_appContext.OrganizationUniqueName + ":systemforms", SystemFormCache.BuildKey);
 }
Exemple #21
0
 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);
 }
Exemple #22
0
 public DuplicateRuleDeleter(IAppContext appContext
                             , IDuplicateRuleRepository duplicateRuleRepository
                             , ILocalizedLabelService localizedLabelService
                             , IDuplicateRuleDependency dependencyService
                             , IEntityPluginDeleter entityPluginDeleter
                             , IEnumerable <ICascadeDelete <DuplicateRule> > cascadeDeletes)
 {
     _appContext = appContext;
     _duplicateRuleRepository = duplicateRuleRepository;
     _localizedLabelService   = localizedLabelService;
     _dependencyService       = dependencyService;
     _entityPluginDeleter     = entityPluginDeleter;
     _cascadeDeletes          = cascadeDeletes;
     _cacheService            = new Caching.CacheManager <DuplicateRule>(_appContext.OrganizationUniqueName + ":duplicaterules", DuplicateRuleCache.BuildKey);
 }
Exemple #23
0
 public FormService(IAppContext appContext
                    , IAttributeFinder attributeFinder
                    , IOptionSetFinder optionSetFinder
                    , IStringMapFinder stringMapFinder
                    , ILocalizedLabelService localizedLabelService
                    , ILocalizedLabelBatchBuilder localizedLabelBatchBuilder)
 {
     _appContext                 = appContext;
     _user                       = appContext.GetFeature <ICurrentUser>();
     _optionSetFinder            = optionSetFinder;
     _stringMapFinder            = stringMapFinder;
     _attributeFinder            = attributeFinder;
     _localizedLabelService      = localizedLabelService;
     _localizedLabelBatchBuilder = localizedLabelBatchBuilder;
 }
Exemple #24
0
 public LocalizedLabelController(IWebAppContext appContext
                                 , ILocalizedLabelService localizedLabelService
                                 , ISolutionService solutionService
                                 , ILanguageService languageService
                                 , ILocalizedLabelImportExport localizedLabelImportExport
                                 , IWebHelper webHelper
                                 , ISettingFinder settingFinder)
     : base(appContext, solutionService)
 {
     _localizedLabelService      = localizedLabelService;
     _languageService            = languageService;
     _localizedLabelImportExport = localizedLabelImportExport;
     _webHelper     = webHelper;
     _settingFinder = settingFinder;
 }
Exemple #25
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", _appContext.PlatformSettings.CacheEnabled);
 }
Exemple #26
0
 public ReportService(IAppContext appContext
                      , IReportRepository reportRepository
                      , ILocalizedLabelService localizedLabelService
                      , ISolutionComponentService solutionComponentService
                      , IRoleObjectAccessService roleObjectAccessService
                      , IDependencyService dependencyService
                      , IEventPublisher eventPublisher)
 {
     _appContext               = appContext;
     _reportRepository         = reportRepository;
     _localizedLabelService    = localizedLabelService;
     _solutionComponentService = solutionComponentService;
     _roleObjectAccessService  = roleObjectAccessService;
     _dependencyService        = dependencyService;
     _eventPublisher           = eventPublisher;
 }
 public SerialNumberRuleDeleter(IAppContext appContext
                                , ISerialNumberRuleRepository serialNumberRuleRepository
                                , ILocalizedLabelService localizedLabelService
                                , ISolutionComponentService solutionComponentService
                                , ISerialNumberDependency dependencyService
                                , IEntityPluginDeleter entityPluginDeleter)
 {
     _appContext = appContext;
     _serialNumberRuleRepository = serialNumberRuleRepository;
     _loc = _appContext.GetFeature <ILocalizedTextProvider>();
     _localizedLabelService    = localizedLabelService;
     _solutionComponentService = solutionComponentService;
     _dependencyService        = dependencyService;
     _entityPluginDeleter      = entityPluginDeleter;
     _cacheService             = new Caching.CacheManager <Domain.SerialNumberRule>(SerialNumberRuleCache.CacheKey(_appContext), _appContext.PlatformSettings.CacheEnabled);
 }
Exemple #28
0
 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);
 }
Exemple #29
0
 public EntityDeleter(IAppContext appContext
                      , IEntityRepository entityRepository
                      , ISolutionComponentService solutionComponentService
                      , ILocalizedLabelService localizedLabelService
                      , IDependencyService dependencyService
                      , IDependencyChecker dependencyChecker
                      , IEnumerable <ICascadeDelete <Domain.Entity> > cascadeDeletes
                      )
 {
     _appContext               = appContext;
     _entityRepository         = entityRepository;
     _localizedLabelService    = localizedLabelService;
     _cacheService             = new Caching.CacheManager <Domain.Entity>(_appContext.OrganizationUniqueName + ":entities", EntityCache.BuildKey);
     _solutionComponentService = solutionComponentService;
     _dependencyService        = dependencyService;
     _dependencyChecker        = dependencyChecker;
     _cascadeDeletes           = cascadeDeletes;
 }
Exemple #30
0
 public LocalizedLabelImportExport(IAppContext appContext
                                   , ILocalizedLabelRepository localizedLabelRepository
                                   , ILocalizedLabelService localizedLabelService
                                   , ILanguageService languageService
                                   //, IDataExporter dataExporter
                                   //, IDataImporter dataImporter
                                   , IWebHelper webHelper
                                   )
 {
     _appContext = appContext;
     _localizedLabelRepository = localizedLabelRepository;
     _localizedLabelService    = localizedLabelService;
     _loc             = _appContext.GetFeature <ILocalizedTextProvider>();
     _languageService = languageService;
     //_dataExporter = dataExporter;
     //_dataImporter = dataImporter;
     _webHelper = webHelper;
 }