Esempio n. 1
0
 public LinkedItemOfTypeInStatusPreCondition(Item item,
                                             IItemTypeRepository itemTypeRepository,
                                             IWorkflowNodeRepository workflowNodeRepository)
 {
     _item = item;
     _itemTypeRepository     = itemTypeRepository;
     _workflowNodeRepository = workflowNodeRepository;
 }
Esempio n. 2
0
 public WorkflowTransitionRepository(IOptions <Settings> settings,
                                     IWorkflowNodeRepository workflowNodeRepository,
                                     IWorkflowTransitionFunctionRepository workflowTransitionFunctionRepository,
                                     IScreenRepository screenRepository)
 {
     _context = new WorkflowTransitionContext(settings);
     _workflowNodeRepository = workflowNodeRepository;
     _workflowTransitionFunctionRepository = workflowTransitionFunctionRepository;
     _screenRepository = screenRepository;
 }
 public FunctionRegistry(
     IItemRepository itemRepository,
     IItemTypeRepository itemTypeRepository,
     IFieldRepository fieldRepository,
     IWorkflowNodeRepository workflowNodeRepository)
 {
     _itemRepository         = itemRepository;
     _itemTypeRepository     = itemTypeRepository;
     _fieldRepository        = fieldRepository;
     _workflowNodeRepository = workflowNodeRepository;
 }
Esempio n. 4
0
 public WorkflowTransitionsController(
     IWorkflowTransitionRepository workflowTransitionRepository,
     //IFunctionRegistry functionRegistry,
     IItemRepository itemRepository,
     IItemTypeRepository itemTypeRepository,
     IWorkflowNodeRepository workflowNodeRepository,
     IFieldRepository fieldRepository)
 {
     _workflowTransitionRepository = workflowTransitionRepository;
     //_functionRegistry = functionRegistry;
     _itemRepository         = itemRepository;
     _itemTypeRepository     = itemTypeRepository;
     _workflowNodeRepository = workflowNodeRepository;
     _fieldRepository        = fieldRepository;
 }
Esempio n. 5
0
 public ItemRepository(IOptions <Settings> settings,
                       IItemTypeRepository itemTypeRepository,
                       IWorkflowNodeRepository workflowNodeRepository,
                       //IFieldRepository fieldRepository,
                       IFieldChangeGroupRepository fieldChangeGroupRepository,
                       IItemLocationRepository itemLocationRepository,
                       IWorkflowTransitionRepository workflowTransitionRepository)
 {
     _context                = new ItemContext(settings);
     _itemTypeRepository     = itemTypeRepository;
     _workflowNodeRepository = workflowNodeRepository;
     //_fieldRepository = fieldRepository;
     _fieldChangeGroupRepository   = fieldChangeGroupRepository;
     _itemLocationRepository       = itemLocationRepository;
     _workflowTransitionRepository = workflowTransitionRepository;
 }
Esempio n. 6
0
 public WorkflowNodesController(IWorkflowNodeRepository workflowNodeRepository,
                                IWorkflowRepository workflowRepository)
 {
     _workflowNodeRepository = workflowNodeRepository;
     _workflowRepository     = workflowRepository;
 }