public SetWorkflowItemPositionRequest(WorkflowItem workflowItem) { this.Position = new Position(workflowItem.Position.X, workflowItem.Position.Y); RestUrl = String.Format("/workflowitems/{0}/position", workflowItem.Id); Method = Method.POST; }
public WorkflowItem(int id, Position position, bool locked, IList<int> nextItem ) { Id = id; this.Position = position; Lock = locked; NextItem = nextItem; }
public CreateWorkflowItemRequest(int workflowId, WorkflowItem workflowItem) { Type = workflowItem.Type; this.Position = new Position(workflowItem.Position.X, workflowItem.Position.Y); RestUrl = String.Format("/workflows/{0}/workflowitems", workflowId); Method = Method.PUT; }
public Start(int id, Position position, bool locked, IList<int> nextItem ) : base(id, position, locked, nextItem) { Type = WorkflowItemType.START; }
public WorkflowItem() { Position = new Position(); NextItem = new List<int>(); }
public End(int id, Position position, bool locked, IList<int> nextItem) : base(id, position, locked, nextItem) { Type = WorkflowItemType.END; }
public Fork(int id, Position position, bool locked, IList<int> nextItem) : base(id, position, locked, nextItem) { Type = WorkflowItemType.FORK; }
public Join(int id, Position position, bool locked, IList<int> nextItem) : base(id, position, locked, nextItem) { Type = WorkflowItemType.JOIN; }