Beispiel #1
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);
 }
Beispiel #2
0
 public RibbonButtonCreater(IRibbonButtonRepository ribbonButtonRepository
                            , IDefaultButtonProvider defaultButtonProvider
                            , ILocalizedLabelBatchBuilder localizedLabelService
                            , IRibbonButtonDependency dependencyService)
 {
     _ribbonButtonRepository = ribbonButtonRepository;
     _defaultButtonProvider  = defaultButtonProvider;
     _localizedLabelService  = localizedLabelService;
     _dependencyService      = dependencyService;
 }
Beispiel #3
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);
 }
Beispiel #4
0
 public QueryViewCreater(IAppContext appContext
                         , IQueryViewRepository queryViewRepository
                         , IDefaultAttributeProvider defaultAttributeProvider
                         , ILocalizedLabelBatchBuilder localizedLabelService
                         , IQueryViewDependency dependencyService
                         , IDefaultQueryViewProvider defaultQueryViewProvider)
 {
     _appContext               = appContext;
     _queryViewRepository      = queryViewRepository;
     _localizedLabelService    = localizedLabelService;
     _defaultAttributeProvider = defaultAttributeProvider;
     _dependencyService        = dependencyService;
     _defaultQueryViewProvider = defaultQueryViewProvider;
     _cacheService             = new Caching.CacheManager <Domain.QueryView>(_appContext.OrganizationUniqueName + ":queryviews", QueryViewCache.BuildKey);
 }
Beispiel #5
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;
 }
Beispiel #6
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);
 }
Beispiel #7
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;
 }
Beispiel #8
0
 public AttributeCreater(IAppContext appContext
                         , IAttributeRepository attributeRepository
                         , IEntityFinder entityFinder
                         , IRelationShipCreater relationShipCreater
                         , IOptionSetCreater optionSetCreater
                         , IStringMapCreater stringMapCreater
                         , ILocalizedLabelBatchBuilder localizedLabelService
                         , IMetadataService metadataService
                         , IDefaultAttributeProvider defaultAttributeProvider
                         , IAttributeDependency dependencyService)
 {
     _appContext          = appContext;
     _attributeRepository = attributeRepository;
     _loc = _appContext.GetFeature <ILocalizedTextProvider>();
     _localizedLabelService    = localizedLabelService;
     _entityFinder             = entityFinder;
     _relationShipCreater      = relationShipCreater;
     _optionSetCreater         = optionSetCreater;
     _stringMapCreater         = stringMapCreater;
     _cacheService             = new Caching.CacheManager <Domain.Attribute>(_appContext.OrganizationUniqueName + ":attributes", AttributeCache.BuildKey);
     _metadataService          = metadataService;
     _defaultAttributeProvider = defaultAttributeProvider;
     _dependencyService        = dependencyService;
 }
 public OptionSetDetailCreater(IOptionSetDetailRepository optionSetDetailRepository
                               , ILocalizedLabelBatchBuilder localizedLabelService)
 {
     _optionSetDetailRepository = optionSetDetailRepository;
     _localizedLabelService     = localizedLabelService;
 }
Beispiel #10
0
 public StringMapCreater(IStringMapRepository stringMapRepository
                         , ILocalizedLabelBatchBuilder localizedLabelService)
 {
     _stringMapRepository   = stringMapRepository;
     _localizedLabelService = localizedLabelService;
 }