Beispiel #1
0
        public UDSDocumentUnitService(IDataUnitOfWork unitOfWork, ILogger logger, IValidatorService validationService,
                                      IUDSRuleset udsRuleset, IMapperUnitOfWork mapperUnitOfWork, ISecurity security, IProtocolLogService protocolLogService)
            : base(unitOfWork, logger, validationService, udsRuleset, mapperUnitOfWork, security)
        {
            _unitOfWork         = unitOfWork;
            _logger             = logger;
            _protocolLogService = protocolLogService;

            _relationLogActions = new Dictionary <UDSRelationType, Action <UDSDocumentUnit> >
            {
                { UDSRelationType.Protocol, CreateProtocolRelationLog },
                { UDSRelationType.ArchiveProtocol, CreateProtocolRelationLog },
                { UDSRelationType.ProtocolArchived, CreateProtocolRelationLog }
            };
        }
Beispiel #2
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;
 }