예제 #1
0
 public SystemFormFinder(IAppContext appContext
                         , ISystemFormRepository systemFormRepository
                         , IRoleObjectAccessService roleObjectAccessService)
 {
     _appContext              = appContext;
     _systemFormRepository    = systemFormRepository;
     _roleObjectAccessService = roleObjectAccessService;
     _cacheService            = new Caching.CacheManager <Domain.SystemForm>(_appContext.OrganizationUniqueName + ":systemforms", _appContext.PlatformSettings.CacheEnabled);
 }
예제 #2
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);
 }
예제 #3
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);
 }
예제 #4
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);
 }