Esempio n. 1
0
 public DocumentsController(IDocumentService documentService, IDocumentTypeService documentTypeService, IWorkFlowExecutorService workFlowExecutorService, IDocumentCategoryService documentCategoryService)
 {
     _documentService         = documentService;
     _documentTypeService     = documentTypeService;
     _workFlowExecutorService = workFlowExecutorService;
     _documentCategoryService = documentCategoryService;
 }
Esempio n. 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="entry"></param>
 /// <param name="currentTransition"></param>
 /// <param name="nextTransitions"></param>
 protected BaseWorkFlowAction(EntryState entry, Transition currentTransition, IEnumerable <Transition> nextTransitions)
 {
     EntryState        = entry;
     CurrentTransition = currentTransition;
     NextTransitions   = nextTransitions;
     Executor          = IoC.Resolve <IWorkFlowExecutorService>();
 }
Esempio n. 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="context"></param>
 /// <param name="workFlowExecutorService"></param>
 /// <param name="crmPipeLineService"></param>
 /// <param name="teamService"></param>
 /// <param name="mapper"></param>
 /// <param name="notify"></param>
 public CrmLeadService(ILeadContext <Lead> context,
                       IWorkFlowExecutorService workFlowExecutorService,
                       ICrmPipeLineService crmPipeLineService,
                       ICrmTeamService teamService, IMapper mapper, INotify <GearRole> notify)
 {
     _context = context;
     _workFlowExecutorService = workFlowExecutorService;
     _crmPipeLineService      = crmPipeLineService;
     _teamService             = teamService;
     _mapper = mapper;
     _notify = notify;
 }
Esempio n. 4
0
 public DocumentWithWorkflowService(IDocumentContext documentContext, IUserManager <GearUser> userManager, IFileManager fileManager, IWorkFlowExecutorService workFlowExecutorService, IDataFilter dataFilter) : base(documentContext, userManager, fileManager, dataFilter)
 {
     WorkFlowExecutorService = workFlowExecutorService;
 }
 public WorkFlowExecutorController(IWorkFlowExecutorService workFlowExecutorService)
 {
     _workFlowExecutorService = workFlowExecutorService;
 }