Esempio n. 1
0
 public AddCustomEntityVersionPageBlockCommandHandler(
     CofoundryDbContext dbContext,
     ICommandExecutor commandExecutor,
     EntityOrderableHelper entityOrderableHelper,
     ICustomEntityCache customEntityCache,
     IPageBlockCommandHelper pageBlockCommandHelper,
     IMessageAggregator messageAggregator,
     ICustomEntityDefinitionRepository customEntityDefinitionRepository,
     IPermissionValidationService permissionValidationService,
     ITransactionScopeFactory transactionScopeFactory
     )
 {
     _dbContext                   = dbContext;
     _commandExecutor             = commandExecutor;
     _entityOrderableHelper       = entityOrderableHelper;
     _customEntityCache           = customEntityCache;
     _pageBlockCommandHelper      = pageBlockCommandHelper;
     _messageAggregator           = messageAggregator;
     _permissionValidationService = permissionValidationService;
     _transactionScopeFactory     = transactionScopeFactory;
 }
 public PublishCustomEntityCommandHandler(
     CofoundryDbContext dbContext,
     ICommandExecutor commandExecutor,
     IQueryExecutor queryExecutor,
     ICustomEntityCache customEntityCache,
     IMessageAggregator messageAggregator,
     IPermissionValidationService permissionValidationService,
     ICustomEntityDefinitionRepository customEntityDefinitionRepository,
     ITransactionScopeManager transactionScopeFactory,
     ICustomEntityStoredProcedures customEntityStoredProcedures
     )
 {
     _dbContext                        = dbContext;
     _queryExecutor                    = queryExecutor;
     _commandExecutor                  = commandExecutor;
     _customEntityCache                = customEntityCache;
     _messageAggregator                = messageAggregator;
     _permissionValidationService      = permissionValidationService;
     _customEntityDefinitionRepository = customEntityDefinitionRepository;
     _transactionScopeFactory          = transactionScopeFactory;
     _customEntityStoredProcedures     = customEntityStoredProcedures;
 }
 public RegisterPermissionsAndRolesCommandHandler(
     CofoundryDbContext dbContext,
     ICommandExecutor commandExecutor,
     IRoleCache roleCache,
     IPermissionValidationService permissionValidationService,
     IEnumerable <IRoleDefinition> roleDefinitions,
     IRoleInitializerFactory roleInitializerFactory,
     IPermissionRepository permissionRepository,
     IEntityDefinitionRepository entityDefinitionRepository,
     ITransactionScopeManager transactionScopeFactory
     )
 {
     _dbContext                   = dbContext;
     _commandExecutor             = commandExecutor;
     _roleCache                   = roleCache;
     _permissionValidationService = permissionValidationService;
     _roleDefinitions             = roleDefinitions;
     _roleInitializerFactory      = roleInitializerFactory;
     _permissionRepository        = permissionRepository;
     _entityDefinitionRepository  = entityDefinitionRepository;
     _transactionScopeFactory     = transactionScopeFactory;
 }
 public AddImageAssetCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     IImageAssetFileService imageAssetFileService,
     ITransactionScopeManager transactionScopeFactory,
     IMessageAggregator messageAggregator,
     IRandomStringGenerator randomStringGenerator,
     IAssetFileTypeValidator assetFileTypeValidator,
     IMimeTypeService mimeTypeService
     )
 {
     _dbContext               = dbContext;
     _entityAuditHelper       = entityAuditHelper;
     _entityTagHelper         = entityTagHelper;
     _imageAssetFileService   = imageAssetFileService;
     _transactionScopeFactory = transactionScopeFactory;
     _messageAggregator       = messageAggregator;
     _randomStringGenerator   = randomStringGenerator;
     _assetFileTypeValidator  = assetFileTypeValidator;
     _mimeTypeService         = mimeTypeService;
 }
Esempio n. 5
0
 public AddUserCommandHandler(
     CofoundryDbContext dbContext,
     IPasswordCryptographyService passwordCryptographyService,
     UserCommandPermissionsHelper userCommandPermissionsHelper,
     IUserAreaDefinitionRepository userAreaRepository,
     IUserUpdateCommandHelper userUpdateCommandHelper,
     IPasswordPolicyService newPasswordValidationService,
     ITransactionScopeManager transactionScopeFactory,
     IMessageAggregator messageAggregator,
     ISecurityStampGenerator securityStampGenerator
     )
 {
     _dbContext = dbContext;
     _passwordCryptographyService  = passwordCryptographyService;
     _userCommandPermissionsHelper = userCommandPermissionsHelper;
     _userAreaRepository           = userAreaRepository;
     _userUpdateCommandHelper      = userUpdateCommandHelper;
     _newPasswordValidationService = newPasswordValidationService;
     _transactionScopeFactory      = transactionScopeFactory;
     _messageAggregator            = messageAggregator;
     _securityStampGenerator       = securityStampGenerator;
 }
 public UpdateImageAssetCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     IImageAssetFileService imageAssetFileService,
     IImageAssetCache imageAssetCache,
     IResizedImageAssetFileService imageAssetFileCache,
     ITransactionScopeManager transactionScopeFactory,
     IMessageAggregator messageAggregator,
     ICommandExecutor commandExecutor,
     IAssetFileTypeValidator assetFileTypeValidator
     )
 {
     _dbContext               = dbContext;
     _entityAuditHelper       = entityAuditHelper;
     _entityTagHelper         = entityTagHelper;
     _imageAssetFileService   = imageAssetFileService;
     _imageAssetCache         = imageAssetCache;
     _imageAssetFileCache     = imageAssetFileCache;
     _transactionScopeFactory = transactionScopeFactory;
     _messageAggregator       = messageAggregator;
     _commandExecutor         = commandExecutor;
     _assetFileTypeValidator  = assetFileTypeValidator;
 }
Esempio n. 7
0
 public UpdateCurrentUserPasswordCommandHandler(
     CofoundryDbContext dbContext,
     IDomainRepository domainRepository,
     UserAuthenticationHelper userAuthenticationHelper,
     IPermissionValidationService permissionValidationService,
     IUserAreaDefinitionRepository userAreaRepository,
     IPasswordUpdateCommandHelper passwordUpdateCommandHelper,
     IUserSecurityStampUpdateHelper userSecurityStampUpdateHelper,
     IUserContextCache userContextCache,
     IPasswordPolicyService newPasswordValidationService,
     IMessageAggregator messageAggregator
     )
 {
     _dbContext                     = dbContext;
     _domainRepository              = domainRepository;
     _userAuthenticationHelper      = userAuthenticationHelper;
     _permissionValidationService   = permissionValidationService;
     _userAreaRepository            = userAreaRepository;
     _passwordUpdateCommandHelper   = passwordUpdateCommandHelper;
     _userSecurityStampUpdateHelper = userSecurityStampUpdateHelper;
     _userContextCache              = userContextCache;
     _newPasswordValidationService  = newPasswordValidationService;
     _messageAggregator             = messageAggregator;
 }
 public AddCustomEntityCommandHandler(
     IQueryExecutor queryExecutor,
     ICommandExecutor commandExecutor,
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     ICustomEntityCache customEntityCache,
     IDbUnstructuredDataSerializer dbUnstructuredDataSerializer,
     IMessageAggregator messageAggregator,
     ICustomEntityDefinitionRepository customEntityDefinitionRepository,
     ITransactionScopeManager transactionScopeFactory,
     ICustomEntityStoredProcedures customEntityStoredProcedures
     )
 {
     _queryExecutor                    = queryExecutor;
     _commandExecutor                  = commandExecutor;
     _dbContext                        = dbContext;
     _entityAuditHelper                = entityAuditHelper;
     _customEntityCache                = customEntityCache;
     _dbUnstructuredDataSerializer     = dbUnstructuredDataSerializer;
     _messageAggregator                = messageAggregator;
     _customEntityDefinitionRepository = customEntityDefinitionRepository;
     _transactionScopeFactory          = transactionScopeFactory;
     _customEntityStoredProcedures     = customEntityStoredProcedures;
 }
Esempio n. 9
0
 public UpdateUserCommandHandler(
     CofoundryDbContext dbContext,
     IDomainRepository domainRepository,
     IUserAreaDefinitionRepository userAreaDefinitionRepository,
     UserCommandPermissionsHelper userCommandPermissionsHelper,
     IUserAreaDefinitionRepository userAreaRepository,
     IPermissionValidationService permissionValidationService,
     IUserContextCache userContextCache,
     IUserUpdateCommandHelper userUpdateCommandHelper,
     IUserSecurityStampUpdateHelper userSecurityStampUpdateHelper,
     IMessageAggregator messageAggregator
     )
 {
     _dbContext                     = dbContext;
     _domainRepository              = domainRepository;
     _userAreaDefinitionRepository  = userAreaDefinitionRepository;
     _userCommandPermissionsHelper  = userCommandPermissionsHelper;
     _userAreaRepository            = userAreaRepository;
     _permissionValidationService   = permissionValidationService;
     _userContextCache              = userContextCache;
     _userUpdateCommandHelper       = userUpdateCommandHelper;
     _userSecurityStampUpdateHelper = userSecurityStampUpdateHelper;
     _messageAggregator             = messageAggregator;
 }
 public AddCustomEntityCommandHandler(
     IQueryExecutor queryExecutor,
     ICommandExecutor commandExecutor,
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     ICustomEntityCache customEntityCache,
     IDbUnstructuredDataSerializer dbUnstructuredDataSerializer,
     IMessageAggregator messageAggregator,
     ICustomEntityDefinitionRepository customEntityDefinitionRepository,
     IPermissionValidationService permissionValidationService,
     ITransactionScopeFactory transactionScopeFactory
     )
 {
     _queryExecutor                    = queryExecutor;
     _commandExecutor                  = commandExecutor;
     _dbContext                        = dbContext;
     _entityAuditHelper                = entityAuditHelper;
     _customEntityCache                = customEntityCache;
     _dbUnstructuredDataSerializer     = dbUnstructuredDataSerializer;
     _messageAggregator                = messageAggregator;
     _customEntityDefinitionRepository = customEntityDefinitionRepository;
     _permissionValidationService      = permissionValidationService;
     _transactionScopeFactory          = transactionScopeFactory;
 }
 public InitiateUserAccountRecoveryViaEmailCommandHandler(
     CofoundryDbContext dbContext,
     IDomainRepository domainRepository,
     IMailService mailService,
     IUserAreaDefinitionRepository userAreaDefinitionRepository,
     IUserMailTemplateBuilderContextFactory userMailTemplateBuilderContextFactory,
     IUserMailTemplateBuilderFactory userMailTemplateBuilderFactory,
     IUserDataFormatter userDataFormatter,
     IMessageAggregator messageAggregator,
     IExecutionDurationRandomizerScopeManager taskDurationRandomizerScopeManager,
     IUserSummaryMapper userSummaryMapper
     )
 {
     _dbContext                               = dbContext;
     _domainRepository                        = domainRepository;
     _mailService                             = mailService;
     _userAreaDefinitionRepository            = userAreaDefinitionRepository;
     _userMailTemplateBuilderContextFactory   = userMailTemplateBuilderContextFactory;
     _userMailTemplateBuilderFactory          = userMailTemplateBuilderFactory;
     _userDataFormatter                       = userDataFormatter;
     _messageAggregator                       = messageAggregator;
     _executionDurationRandomizerScopeManager = taskDurationRandomizerScopeManager;
     _userSummaryMapper                       = userSummaryMapper;
 }
 public QueueAssetFileDeletionCommandHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
Esempio n. 13
0
 public GetUpdatePageDirectoryCommandByIdQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
Esempio n. 14
0
 public GetUserMicroSummaryByEmailQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
 public GetWebDirectoryTreeQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
Esempio n. 16
0
 public SearchImageAssetSummariesQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
 public GetCurrentUserAccountDetailsQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
Esempio n. 18
0
 public IsPageDirectoryPathUniqueQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
 public GetUpdateCurrentUserCommandByIdQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
 public IsRoleTitleUniqueQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
 public GetAllPageGroupSummaryQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
Esempio n. 22
0
 public DoesPageHaveDraftVersionQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
Esempio n. 23
0
 public CompleteAuthorizedTaskCommandHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
Esempio n. 24
0
 public GetUpdatePageDraftVersionCommandByIdQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
Esempio n. 25
0
 public GetUpdateDocumentAssetCommandByIdQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
Esempio n. 26
0
 public GetAllWebDirectoryRoutesQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
 public IsUsernameUniqueQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
Esempio n. 28
0
 public GetAllDocumentAssetFileTypesQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
 public GetAllPageTemplateMicroSummariesQueryHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }
 public GetUpdateImageAssetCommandByIdHandler(
     CofoundryDbContext dbContext
     )
 {
     _dbContext = dbContext;
 }