public WorkflowEngine() { _contentController = Util.GetContentController(); _workflowRepository = WorkflowRepository.Instance; _workflowStateRepository = WorkflowStateRepository.Instance; _workflowStatePermissionsRepository = WorkflowStatePermissionsRepository.Instance; _workflowLogRepository = WorkflowLogRepository.Instance; _workflowActionManager = WorkflowActionManager.Instance; _workflowSecurity = WorkflowSecurity.Instance; _userController = UserController.Instance; _notificationsController = NotificationsController.Instance; _workflowManager = WorkflowManager.Instance; _workflowLogger = WorkflowLogger.Instance; _systemWorkflowManager = SystemWorkflowManager.Instance; }
public ApproveFlowApplicationService(IUnitOfWorkScope unitOfWorkScope, IWorkflowLogRepository workflowLogRepository, IWorkflowRepository workflowRepository, IEntityConfigurator<Order> orderConfigurator, IEntityConfigurator<FuelReport> fuelReportConfigurator, IEntityConfigurator<Scrap> scrapConfigurator, IEntityConfigurator<Charter> charterConfigurator, IEntityConfigurator<Invoice> invoiceConfigurator, IEntityConfigurator<Offhire> offhireConfigurator) { _unitOfWorkScope = unitOfWorkScope; _workflowLogRepository = workflowLogRepository; _workflowRepository = workflowRepository; this.orderConfigurator = orderConfigurator; this.fuelReportConfigurator = fuelReportConfigurator; this.scrapConfigurator = scrapConfigurator; this.invoiceConfigurator = invoiceConfigurator; this.offhireConfigurator = offhireConfigurator; this._charterConfigurator = charterConfigurator; // _approveWorkFlowFactory = approveWorkFlowFactory; // _orderApplicationService = orderApplicationService; }
public WorkflowLogger() { _workflowLogRepository = WorkflowLogRepository.Instance; }