Ejemplo n.º 1
0
 public SolutionComponentController(IWebAppContext appContext
                                    , ISolutionService solutionService
                                    , ISolutionComponentService solutionComponentService)
     : base(appContext, solutionService)
 {
     _solutionComponentService = solutionComponentService;
 }
Ejemplo n.º 2
0
 public DuplicateRuleFinder(IAppContext appContext
                            , IDuplicateRuleRepository duplicateRuleRepository
                            , ISolutionComponentService solutionComponentService)
 {
     _appContext = appContext;
     _duplicateRuleRepository  = duplicateRuleRepository;
     _solutionComponentService = solutionComponentService;
     _cacheService             = new Caching.CacheManager <DuplicateRule>(DuplicateRuleCache.CacheKey(_appContext), _appContext.PlatformSettings.CacheEnabled);
 }
Ejemplo n.º 3
0
 public WebResourceCreater(IAppContext appContext, IWebResourceRepository webResourceRepository
                           , ILocalizedLabelBatchBuilder localizedLabelService
                           , ISolutionComponentService solutionComponentService)
 {
     _webResourceRepository    = webResourceRepository;
     _localizedLabelService    = localizedLabelService;
     _solutionComponentService = solutionComponentService;
     _appContext   = appContext;
     _cacheService = new Caching.CacheManager <Domain.WebResource>(_appContext.OrganizationUniqueName + "webresource", _appContext.PlatformSettings.CacheEnabled);
 }
Ejemplo n.º 4
0
 public EntityPluginDeleter(IAppContext appContext
                            , IEntityPluginRepository entityPluginRepository
                            , ISolutionComponentService solutionComponentService
                            , IDependencyService dependencyService)
 {
     _entityPluginRepository   = entityPluginRepository;
     _solutionComponentService = solutionComponentService;
     _dependencyService        = dependencyService;
     _cacheService             = new Caching.CacheManager <EntityPlugin>(EntityPluginCache.GetCacheKey(appContext), EntityPluginCache.BuildKey);
 }
Ejemplo n.º 5
0
 public DuplicateRuleFinder(IAppContext appContext
                            , IDuplicateRuleRepository duplicateRuleRepository
                            //, ILocalizedLabelService localizedLabelService
                            , ISolutionComponentService solutionComponentService)
 {
     _appContext = appContext;
     _duplicateRuleRepository = duplicateRuleRepository;
     //_localizedLabelService = localizedLabelService;
     _solutionComponentService = solutionComponentService;
     _cacheService             = new Caching.CacheManager <DuplicateRule>(DuplicateRuleCache.CacheKey(_appContext), DuplicateRuleCache.BuildKey);
 }
Ejemplo n.º 6
0
 public WorkFlowCreater(IAppContext appContext
                        , IWorkFlowRepository workFlowRepository
                        , ILocalizedLabelService localizedLabelService
                        , ISolutionComponentService solutionComponentService
                        , IWorkFlowDependency dependencyService)
 {
     _appContext               = appContext;
     _workFlowRepository       = workFlowRepository;
     _localizedLabelService    = localizedLabelService;
     _solutionComponentService = solutionComponentService;
     _dependencyService        = dependencyService;
 }
Ejemplo n.º 7
0
 public WorkFlowDeleter(IWorkFlowRepository workFlowRepository
                        , ILocalizedLabelService localizedLabelService
                        , ISolutionComponentService solutionComponentService
                        , IWorkFlowDependency dependencyService
                        , IEventPublisher eventPublisher)
 {
     _workFlowRepository       = workFlowRepository;
     _localizedLabelService    = localizedLabelService;
     _solutionComponentService = solutionComponentService;
     _dependencyService        = dependencyService;
     _eventPublisher           = eventPublisher;
 }
Ejemplo n.º 8
0
 public EntityPluginCreater(IAppContext appContext
                            , IEntityPluginRepository entityPluginRepository
                            , ISolutionComponentService solutionComponentService
                            , IEntityPluginFileProvider entityPluginFileProvider
                            , IDependencyService dependencyService)
 {
     _appContext               = appContext;
     _entityPluginRepository   = entityPluginRepository;
     _solutionComponentService = solutionComponentService;
     _entityPluginFileProvider = entityPluginFileProvider;
     _dependencyService        = dependencyService;
     _cacheService             = new Caching.CacheManager <EntityPlugin>(EntityPluginCache.GetCacheKey(appContext), _appContext.PlatformSettings.CacheEnabled);
 }
Ejemplo n.º 9
0
 public OptionSetCreater(IAppContext appContext
                         , IOptionSetRepository optionSetRepository
                         , ISolutionComponentService solutionComponentService
                         , IOptionSetDetailCreater optionSetDetailCreater
                         , ILocalizedLabelBatchBuilder localizedLabelService)
 {
     _appContext               = appContext;
     _optionSetRepository      = optionSetRepository;
     _localizedLabelService    = localizedLabelService;
     _solutionComponentService = solutionComponentService;
     _optionSetDetailCreater   = optionSetDetailCreater;
     _cacheService             = new Caching.CacheManager <Domain.OptionSet>(_appContext.OrganizationUniqueName + ":optionsets", _appContext.PlatformSettings.CacheEnabled);
 }
Ejemplo n.º 10
0
 public HomeController(IWebAppContext appContext
                       , ISolutionService solutionService
                       , IEntityFinder entityFinder
                       , IOptionSetFinder optionSetFinder
                       , IEntityPluginFinder entityPluginFinder
                       , IWorkFlowFinder workFlowFinder
                       , ISolutionComponentService solutionComponentService) : base(appContext, solutionService)
 {
     _entityFinder             = entityFinder;
     _optionSetFinder          = optionSetFinder;
     _entityPluginFinder       = entityPluginFinder;
     _workFlowFinder           = workFlowFinder;
     _solutionComponentService = solutionComponentService;
 }
Ejemplo n.º 11
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");
 }
Ejemplo n.º 12
0
 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);
 }
Ejemplo n.º 13
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;
 }
Ejemplo n.º 14
0
 public SystemFormCreater(IAppContext appContext
                          , ISystemFormRepository systemFormRepository
                          , ILocalizedLabelBatchBuilder localizedLabelService
                          , ISolutionComponentService solutionComponentService
                          , IFormService formService
                          , ISystemFormDependency dependencyService
                          , IDefaultSystemFormProvider defaultSystemFormProvider)
 {
     _appContext                = appContext;
     _systemFormRepository      = systemFormRepository;
     _localizedLabelService     = localizedLabelService;
     _solutionComponentService  = solutionComponentService;
     _formService               = formService;
     _dependencyService         = dependencyService;
     _defaultSystemFormProvider = defaultSystemFormProvider;
     _cacheService              = new Caching.CacheManager <Domain.SystemForm>(_appContext.OrganizationUniqueName + ":systemforms", _appContext.PlatformSettings.CacheEnabled);
 }
Ejemplo n.º 15
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;
 }
Ejemplo n.º 16
0
 public EntityCreater(IAppContext appContext
                      , IEntityRepository entityRepository
                      , ILocalizedLabelBatchBuilder localizedLabelService
                      , ISolutionComponentService solutionComponentService
                      , IDefaultAttributeProvider defaultAttributeProvider
                      , IAttributeCreater attributeCreater
                      , IEventPublisher eventPublisher
                      )
 {
     _appContext               = appContext;
     _loc                      = _appContext.GetFeature <ILocalizedTextProvider>();
     _entityRepository         = entityRepository;
     _localizedLabelService    = localizedLabelService;
     _solutionComponentService = solutionComponentService;
     _defaultAttributeProvider = defaultAttributeProvider;
     _attributeCreater         = attributeCreater;
     _cacheService             = new Caching.CacheManager <Domain.Entity>(_appContext.OrganizationUniqueName + ":entities", _appContext.PlatformSettings.CacheEnabled);
     _eventPublisher           = eventPublisher;
 }
Ejemplo n.º 17
0
 public OptionSetDeleter(IAppContext appContext
                         , IOptionSetRepository optionSetRepository
                         , ISolutionComponentService solutionComponentService
                         , IOptionSetDetailDeleter optionSetDetailDeleter
                         , ILocalizedLabelService localizedLabelService
                         , IDependencyService dependencyService
                         , IDependencyChecker dependencyChecker
                         , IEnumerable <ICascadeDelete <Domain.OptionSet> > cascadeDeletes)
 {
     _appContext          = appContext;
     _optionSetRepository = optionSetRepository;
     _loc = _appContext.GetFeature <ILocalizedTextProvider>();
     _localizedLabelService    = localizedLabelService;
     _solutionComponentService = solutionComponentService;
     _optionSetDetailDeleter   = optionSetDetailDeleter;
     _dependencyService        = dependencyService;
     _dependencyChecker        = dependencyChecker;
     _cascadeDeletes           = cascadeDeletes;
     _cacheService             = new Caching.CacheManager <Domain.OptionSet>(_appContext.OrganizationUniqueName + ":optionsets", _appContext.PlatformSettings.CacheEnabled);
 }
Ejemplo n.º 18
0
 public SystemFormDeleter(IAppContext appContext
                          , ISystemFormRepository systemFormRepository
                          , ILocalizedLabelService localizedLabelService
                          , ISolutionComponentService solutionComponentService
                          , IFormService formService
                          , ISystemFormDependency dependencyService
                          , IDependencyChecker dependencyChecker
                          , IEventPublisher eventPublisher
                          , IEnumerable <ICascadeDelete <Domain.SystemForm> > cascadeDeletes)
 {
     _appContext               = appContext;
     _systemFormRepository     = systemFormRepository;
     _localizedLabelService    = localizedLabelService;
     _solutionComponentService = solutionComponentService;
     _formService              = formService;
     _dependencyService        = dependencyService;
     _dependencyChecker        = dependencyChecker;
     _eventPublisher           = eventPublisher;
     _cascadeDeletes           = cascadeDeletes;
     _cacheService             = new Caching.CacheManager <Domain.SystemForm>(_appContext.OrganizationUniqueName + ":systemforms", SystemFormCache.BuildKey);
 }