Exemplo n.º 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");
 }
Exemplo n.º 2
0
 public OptionSetController(IWebAppContext appContext
                            , IOptionSetFinder optionSetFinder
                            , IOptionSetDetailFinder optionSetDetailFinder) : base(appContext)
 {
     _optionSetFinder       = optionSetFinder;
     _optionSetDetailFinder = optionSetDetailFinder;
 }
Exemplo n.º 3
0
 public FilterController(Framework.Context.IWebAppContext appContext
                         , IRelationShipFinder relationShipService
                         , IAttributeFinder attributeFinder
                         , IOptionSetFinder optionSetFinder
                         , IStringMapFinder stringMapFinder)
     : base(appContext)
 {
     _relationShipFinder = relationShipService;
     _attributeFinder    = attributeFinder;
     _optionSetFinder    = optionSetFinder;
     _stringMapFinder    = stringMapFinder;
 }
Exemplo n.º 4
0
 public AttributeUpdaterController(IWebAppContext appContext
                                   , IEntityFinder entityService
                                   , IAttributeFinder attributeService
                                   , IAttributeUpdater attributeUpdater
                                   , IOptionSetFinder optionSetFinder
                                   )
     : base(appContext)
 {
     _entityFinder     = entityService;
     _attributeFinder  = attributeService;
     _attributeUpdater = attributeUpdater;
     _optionSetFinder  = optionSetFinder;
 }
Exemplo n.º 5
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;
 }
Exemplo n.º 6
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;
 }
Exemplo n.º 7
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;
 }
Exemplo n.º 8
0
 public KanbanViewController(IWebAppContext appContext
                             , IEntityFinder entityFinder
                             , IAttributeFinder attributeFinder
                             , IQueryViewFinder queryViewFinder
                             , IOptionSetFinder optionSetFinder
                             , IRoleObjectAccessService roleObjectAccessService
                             , IAggregateService aggregateService)
     : base(appContext)
 {
     _entityFinder            = entityFinder;
     _attributeFinder         = attributeFinder;
     _queryViewFinder         = queryViewFinder;
     _optionSetFinder         = optionSetFinder;
     _roleObjectAccessService = roleObjectAccessService;
     _aggregateService        = aggregateService;
 }
Exemplo n.º 9
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;
 }
Exemplo n.º 10
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;
 }
Exemplo n.º 11
0
 public OptionSetExporter(IOptionSetFinder optionSetFinder)
 {
     _optionSetFinder = optionSetFinder;
 }