コード例 #1
0
 public LoginController(IWebSecurityService userService, IOrganizationService organizationService, IWorkflowInstanceService workflowInstanceService, IEmailHelper emailHelper)
 {
     this.userService             = userService;
     this.organizationService     = organizationService;
     this.workflowInstanceService = workflowInstanceService;
     this.emailHelper             = emailHelper;
 }
コード例 #2
0
 public LoginController(IWebSecurityService userService, IOrganizationService organizationService, IWorkflowInstanceService workflowInstanceService, IEmailHelper emailHelper)
 {
     this.userService = userService;
     this.organizationService = organizationService;
     this.workflowInstanceService = workflowInstanceService;
     this.emailHelper = emailHelper;
 }
コード例 #3
0
 public WorkflowDefinitionVersionService(IMapper mapper, IWorkflowDefinitionVersionRepository repository, IWorkflowInstanceService workflowInstanceService, IActivityDefinitionRepository activityDefinitionRepository, IConnectionDefinitionRepository connectionDefinitionRepository, ElsaDbContext elsaDbContext)
 {
     _mapper     = mapper;
     _repository = repository;
     _workflowInstanceService        = workflowInstanceService;
     _activityDefinitionRepository   = activityDefinitionRepository;
     _connectionDefinitionRepository = connectionDefinitionRepository;
     _elsaDbContext = elsaDbContext;
 }
コード例 #4
0
 public OrganizationController(IOrganizationService organizationService, IWebSecurityService securityService, IEmailHelper emailHelper, IRegistrationService registrationService, IWorkflowInstanceService workflowInstanceService, IWorkflowService workflowService)
 {
     this.organizationService     = organizationService;
     this.webSecurityService      = securityService;
     this.emailHelper             = emailHelper;
     this.registrationService     = registrationService;
     this.workflowInstanceService = workflowInstanceService;
     this.workflowService         = workflowService;
 }
コード例 #5
0
 public OrganizationController(IOrganizationService organizationService, IWebSecurityService securityService, IEmailHelper emailHelper, IRegistrationService registrationService, IWorkflowInstanceService workflowInstanceService, IWorkflowService workflowService)
 {
     this.organizationService = organizationService;
     this.webSecurityService = securityService;
     this.emailHelper = emailHelper;
     this.registrationService = registrationService;
     this.workflowInstanceService = workflowInstanceService;
     this.workflowService = workflowService;
 }
コード例 #6
0
 public static Task <PagedList <WorkflowInstanceSummary> > ListAsync(
     this IWorkflowInstanceService service,
     int page     = 0,
     int pageSize = 50,
     string?workflowDefinitionId   = default,
     WorkflowStatus?workflowStatus = default,
     OrderBy?orderBy   = default,
     string?searchTerm = default) =>
 service.ListAsync(new ListWorkflowInstancesRequest(page, pageSize, workflowDefinitionId, workflowStatus, orderBy, searchTerm));
コード例 #7
0
 public ArrestReportCommandService(
     IReportsUnitOfWork unitOfWork,
     IWorkflowInstanceService workflowInstanceService,
     ITemplateProvider templateProvider,
     ILog log,
     IServiceAuthorizationPolicy authorizationPolicy,
     IServiceIdentityProvider identityProvider)
     : base(unitOfWork, workflowInstanceService, templateProvider, log, ModuleType.Arrest, authorizationPolicy, identityProvider)
 {
 }
コード例 #8
0
 public AccountController(IWebSecurityService webSecurityService, IPersonService personService, IAccountService accountService, IEmailHelper emailHelper, IWorkflowInstanceService workflowInstanceService, IWorkflowService workflowService)
 {
     this.webSecurityService = webSecurityService;
     this.personService = personService;
     this.accountService = accountService;
     this.emailHelper = emailHelper;
     this.workflowInstanceService = workflowInstanceService;
     this.workflowService = workflowService;
     
     Boolean.TryParse(ConfigurationManager.AppSettings["RequireSignUpVerification"], out requireVerification);
 }
コード例 #9
0
        public AccountController(IWebSecurityService webSecurityService, IPersonService personService, IAccountService accountService, IEmailHelper emailHelper, IWorkflowInstanceService workflowInstanceService, IWorkflowService workflowService)
        {
            this.webSecurityService      = webSecurityService;
            this.personService           = personService;
            this.accountService          = accountService;
            this.emailHelper             = emailHelper;
            this.workflowInstanceService = workflowInstanceService;
            this.workflowService         = workflowService;

            Boolean.TryParse(ConfigurationManager.AppSettings["RequireSignUpVerification"], out requireVerification);
        }
コード例 #10
0
 public ReportWorkflowCommandService(
     IReportsUnitOfWork unitOfWork,
     IWorkflowInstanceService workflowInstanceService,
     NumberControlProcessor numberControlProcessor,
     ILog log,
     IServiceAuthorizationPolicy authorizationPolicy,
     IServiceIdentityProvider identityProvider)
     : base(unitOfWork, log, authorizationPolicy, identityProvider)
 {
     _workflowInstanceService = CheckDependency(workflowInstanceService, "workflowInstanceService");
     _numberControlProcessor  = CheckDependency(numberControlProcessor, "numberControlProcessor");
 }
コード例 #11
0
 public WorkflowStartService(ILogger logger, IWorkflowInstanceService workflowInstanceService, IWorkflowArgumentMapper workflowArgumentMapper,
                             IWorkflowInstanceRoleService workflowInstanceRoleService, IWorkflowActivityService workflowActivityService,
                             ITopicService topicServiceBus, ICQRSMessageMapper mapper_eventServiceBusMessage,
                             IDataUnitOfWork unitOfWork, StorageDocument.IDocumentContext <ModelDocument.Document, ModelDocument.ArchiveDocument> documentService,
                             ICollaborationService collaborationService, ISecurity security, IParameterEnvService parameterEnvService, IFascicleRoleService fascicleRoleService,
                             IMessageService messageService, IDossierRoleService dossierRoleService, IQueueService queueService, IWordOpenXmlDocumentGenerator wordOpenXmlDocumentGenerator,
                             IMessageConfiguration messageConfiguration, IProtocolLogService protocolLogService, IPDFDocumentGenerator pdfDocumentGenerator,
                             IFascicleService fascicleService, IFascicleDocumentService fascicleDocumentService, IFascicleFolderService fascicleFolderService,
                             IFascicleDocumentUnitService fascDocumentUnitService, IFascicleLinkService fascicleLinkService)
     : base(logger, workflowInstanceService, workflowInstanceRoleService, workflowActivityService, topicServiceBus, mapper_eventServiceBusMessage,
            unitOfWork, documentService, collaborationService, security, parameterEnvService, fascicleRoleService, messageService, dossierRoleService, queueService,
            wordOpenXmlDocumentGenerator, messageConfiguration, protocolLogService, pdfDocumentGenerator, fascicleService, fascicleDocumentService, fascicleFolderService,
            fascDocumentUnitService, fascicleLinkService)
 {
     _unitOfWork = unitOfWork;
     _workflowInstanceService = workflowInstanceService;
     _workflowArgumentMapper  = workflowArgumentMapper;
     _documentService         = documentService;
 }
コード例 #12
0
        protected ReportCommandServiceBase(
            IReportsUnitOfWork unitOfWork,
            IWorkflowInstanceService workflowInstanceService,
            ITemplateProvider templateProvider,
            ILog log,
            ModuleType reportModule,
            IServiceAuthorizationPolicy authorizationPolicy,
            IServiceIdentityProvider identityProvider)
            : base(unitOfWork, log, authorizationPolicy, identityProvider)
        {
            if (!reportModule.IsPublicSafetyRecord())
            {
                throw new ImplementationException(
                          "The [{0}] module does not support Reports.",
                          reportModule);
            }

            CheckDependency(templateProvider, "templateProvider");
            CheckDependency(workflowInstanceService, "workflowInstanceService");

            TemplateProvider        = templateProvider;
            WorkflowInstanceService = workflowInstanceService;
            ReportModule            = reportModule;
        }
コード例 #13
0
 public WorkflowInstanceController(IWorkflowInstanceService workflowInstanceService, IEmailHelper emailHelper)
 {
     this.workflowInstanceService = workflowInstanceService;
     this.emailHelper = emailHelper;
 }
コード例 #14
0
 public NetModularWorkflowInstanceStrore(IMapper mapper, IWorkflowInstanceService workflowInstanceService)
 {
     _mapper = mapper;
     _workflowInstanceService = workflowInstanceService;
 }
コード例 #15
0
 public WorkflowInstanceController(IWorkflowInstanceService workflowInstanceService, IEmailHelper emailHelper)
 {
     this.workflowInstanceService = workflowInstanceService;
     this.emailHelper             = emailHelper;
 }
コード例 #16
0
 public static Task <WorkflowInstance?> GetByIdAsync(this IWorkflowInstanceService service, string workflowInstanceId) => service.GetByIdAsync(new GetWorkflowInstanceByIdRequest(workflowInstanceId));
コード例 #17
0
 public static Task BulkRetryAsync(this IWorkflowInstanceService service, IEnumerable <string> workflowInstanceIds) => service.BulkRetryAsync(new BulkRetryWorkflowInstancesRequest(workflowInstanceIds));
コード例 #18
0
 public static Task RetryAsync(this IWorkflowInstanceService service, string workflowInstanceId) => service.RetryAsync(new RetryWorkflowRequest(workflowInstanceId));
コード例 #19
0
 public static Task DeleteAsync(this IWorkflowInstanceService service, string workflowInstanceId) => service.DeleteAsync(new DeleteWorkflowRequest(workflowInstanceId));