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 OptionSetUpdaterController(IWebAppContext appContext
                                   , IOptionSetUpdater optionSetUpdater
                                   , IOptionSetFinder optionSetFinder
                                   , IOptionSetDetailFinder optionSetDetailFinder
                                   , IOptionSetDetailCreater optionSetDetailCreater
                                   , IOptionSetDetailUpdater optionSetDetailUpdater
                                   ) : base(appContext)
 {
     _optionSetUpdater       = optionSetUpdater;
     _optionSetFinder        = optionSetFinder;
     _optionSetDetailFinder  = optionSetDetailFinder;
     _optionSetDetailCreater = optionSetDetailCreater;
     _optionSetDetailUpdater = optionSetDetailUpdater;
 }
Example #3
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 #4
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;
 }