Example #1
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");
 }
Example #2
0
 public OptionSetController(IWebAppContext appContext
                            , IOptionSetFinder optionSetFinder
                            , IOptionSetDetailFinder optionSetDetailFinder) : base(appContext)
 {
     _optionSetFinder       = optionSetFinder;
     _optionSetDetailFinder = optionSetDetailFinder;
 }
Example #3
0
 public DataImporter(IEntityFinder entityFinder
                     , IAttributeFinder attributeFinder
                     , IOptionSetDetailFinder optionSetDetailFinder
                     , IStringMapFinder stringMapFinder
                     , IWebHelper webHelper
                     , IDataCreater dataCreater
                     , IDataUpdater dataUpdater
                     , IDataFinder dataFinder
                     , IAggregateService aggregateService
                     , IImportFileService importFileService
                     , IImportDataService importDataService
                     , IImportMapService importMapService)
 {
     _entityFinder    = entityFinder;
     _attributeFinder = attributeFinder;
     _optionSetDetailServiceFinder = optionSetDetailFinder;
     _stringMapFinder   = stringMapFinder;
     _webHelper         = webHelper;
     _dataCreater       = dataCreater;
     _dataUpdater       = dataUpdater;
     _dataFinder        = dataFinder;
     _aggregateService  = aggregateService;
     _importFileService = importFileService;
     _importDataService = importDataService;
     _importMapService  = importMapService;
 }
Example #4
0
 public OptionSetFinder(IAppContext appContext
                        , IOptionSetRepository optionSetRepository
                        , IOptionSetDetailFinder optionSetDetailFinder
                        )
 {
     _appContext            = appContext;
     _optionSetRepository   = optionSetRepository;
     _optionSetDetailFinder = optionSetDetailFinder;
     _cacheService          = new Caching.CacheManager <Domain.OptionSet>(_appContext.OrganizationUniqueName + ":optionsets", _appContext.PlatformSettings.CacheEnabled);
 }
Example #5
0
 public QueryMetadataFinder(IEntityFinder entityFinder
                            , IAttributeFinder attributeFinder
                            , IRelationShipFinder relationShipFinder
                            , IStringMapFinder stringMapFinder
                            , IOptionSetDetailFinder optionSetDetailFinder)
 {
     _entityFinder          = entityFinder;
     _attributeFinder       = attributeFinder;
     _relationShipFinder    = relationShipFinder;
     _stringMapFinder       = stringMapFinder;
     _optionSetDetailFinder = optionSetDetailFinder;
 }
Example #6
0
 public OptionSetFinder(IAppContext appContext
                        , IOptionSetRepository optionSetRepository
                        , IOptionSetDetailFinder optionSetDetailFinder
                        //, ILocalizedLabelService localizedLabelService
                        )
 {
     _appContext            = appContext;
     _optionSetRepository   = optionSetRepository;
     _optionSetDetailFinder = optionSetDetailFinder;
     //_localizedLabelService = localizedLabelService;
     _cacheService = new Caching.CacheManager <Domain.OptionSet>(_appContext.OrganizationUniqueName + ":optionsets", OptionSetCache.BuildKey);
 }
Example #7
0
 public FileTemplateProvider(IEntityFinder entityFinder
                             , IAttributeFinder attributeFinder
                             , IOptionSetDetailFinder optionSetDetailFinder
                             , IStringMapFinder stringMapFinder
                             , IWebHelper webHelper)
 {
     _entityFinder    = entityFinder;
     _attributeFinder = attributeFinder;
     _optionSetDetailServiceFinder = optionSetDetailFinder;
     _stringMapFinder = stringMapFinder;
     _webHelper       = webHelper;
 }
Example #8
0
 public ChartBuilder(IAppContext appContext
                     , IChartRepository chartRepository
                     , IStringMapFinder stringMapFinder
                     , IOptionSetDetailFinder optionSetDetailFinder
                     , IFetchDataService fetchDataService)
 {
     _appContext            = appContext;
     _loc                   = appContext.GetFeature <ILocalizedTextProvider>();
     _chartRepository       = chartRepository;
     _optionSetDetailFinder = optionSetDetailFinder;
     _stringMapFinder       = stringMapFinder;
     _fetchDataService      = fetchDataService;
 }
Example #9
0
 public OptionSetImporter(IAppContext appContext
                          , IOptionSetCreater optionSetCreater
                          , IOptionSetUpdater optionSetUpdater
                          , IOptionSetFinder optionSetFinder
                          , IOptionSetDetailCreater optionSetDetailCreater
                          , IOptionSetDetailUpdater optionSetDetailUpdater
                          , IOptionSetDetailFinder optionSetDetailFinder)
 {
     _appContext             = appContext;
     _optionSetCreater       = optionSetCreater;
     _optionSetUpdater       = optionSetUpdater;
     _optionSetFinder        = optionSetFinder;
     _optionSetDetailCreater = optionSetDetailCreater;
     _optionSetDetailUpdater = optionSetDetailUpdater;
     _optionSetDetailFinder  = optionSetDetailFinder;
 }
Example #10
0
 public ChartBuilder(IAppContext appContext
                     , IChartRepository chartRepository
                     , IStringMapFinder stringMapFinder
                     , IOptionSetDetailFinder optionSetDetailFinder
                     , IFetchDataService fetchDataService
                     , IEntityFinder entityFinder
                     , IRoleObjectAccessEntityPermissionService roleObjectAccessEntityPermissionService)
 {
     _appContext            = appContext;
     _user                  = _appContext.GetFeature <ICurrentUser>();
     _loc                   = appContext.GetFeature <ILocalizedTextProvider>();
     _chartRepository       = chartRepository;
     _optionSetDetailFinder = optionSetDetailFinder;
     _stringMapFinder       = stringMapFinder;
     _fetchDataService      = fetchDataService;
     _entityFinder          = entityFinder;
     _roleObjectAccessEntityPermissionService = roleObjectAccessEntityPermissionService;
 }
Example #11
0
 public FetchDataService(IAppContext appContext
                         , IEntityFinder entityFinder
                         , IStringMapFinder stringMapFinder
                         , IOptionSetDetailFinder optionSetDetailFinder
                         , ISystemUserPermissionService systemUserPermissionService
                         , IRoleObjectAccessEntityPermissionService roleObjectAccessEntityPermissionService
                         , ISystemUserRolesService systemUserRolesService
                         , IQueryResolverFactory queryResolverFactory)
 {
     _appContext                              = appContext;
     User                                     = _appContext.GetFeature <ICurrentUser>();
     _stringMapFinder                         = stringMapFinder;
     _optionSetDetailFinder                   = optionSetDetailFinder;
     _systemUserPermissionService             = systemUserPermissionService;
     _entityFinder                            = entityFinder;
     _queryResolverFactory                    = queryResolverFactory;
     _roleObjectAccessEntityPermissionService = roleObjectAccessEntityPermissionService;
     _systemUserRolesService                  = systemUserRolesService;
 }
Example #12
0
 public AttributeController(IWebAppContext appContext
                            , ISolutionService solutionService
                            , IEntityFinder entityFinder
                            , IOptionSetFinder optionSetFinder
                            , IOptionSetDetailFinder optionSetDetailFinder
                            , IStringMapFinder stringMapFinder
                            , IAttributeCreater attributeCreater
                            , IAttributeDeleter attributeDeleter
                            , IAttributeFinder attributeFinder
                            , IAttributeUpdater attributeUpdater)
     : base(appContext, solutionService)
 {
     _entityFinder          = entityFinder;
     _optionSetFinder       = optionSetFinder;
     _optionSetDetailFinder = optionSetDetailFinder;
     _stringMapFinder       = stringMapFinder;
     _attributeCreater      = attributeCreater;
     _attributeDeleter      = attributeDeleter;
     _attributeFinder       = attributeFinder;
     _attributeUpdater      = attributeUpdater;
 }
Example #13
0
 public OptionSetController(IWebAppContext appContext
                            , ISolutionService solutionService
                            , IOptionSetCreater optionSetCreater
                            , IOptionSetDeleter optionSetDeleter
                            , IOptionSetUpdater optionSetUpdater
                            , IOptionSetFinder optionSetFinder
                            , IOptionSetDetailCreater optionSetDetailCreater
                            , IOptionSetDetailDeleter optionSetDetailDeleter
                            , IOptionSetDetailFinder optionSetDetailFinder
                            , IOptionSetDetailUpdater optionSetDetailUpdater)
     : base(appContext, solutionService)
 {
     _optionSetCreater       = optionSetCreater;
     _optionSetDeleter       = optionSetDeleter;
     _optionSetUpdater       = optionSetUpdater;
     _optionSetFinder        = optionSetFinder;
     _optionSetDetailCreater = optionSetDetailCreater;
     _optionSetDetailDeleter = optionSetDetailDeleter;
     _optionSetDetailFinder  = optionSetDetailFinder;
     _optionSetDetailUpdater = optionSetDetailUpdater;
 }