C# Class WhiskWork.Core.WorkItemMover

Inheritance: WorkflowRepositoryInteraction
Mostra file Open project: jorn-ola-birkeland/WhiskWork Class Usage Examples

Public Methods

Method Description
MoveWorkItem ( WorkItem workItem, WorkStep toStep ) : void
WorkItemMover ( IWorkflowRepository workflowRepository ) : System
WorkItemMover ( IWorkflowRepository workflowRepository, ITimeSource timeSource ) : System

Private Methods

Method Description
AttemptMergeIfMovingChildOfParallelledWorkItem ( WorkItemTransition transition ) : WorkItemTransition
CleanUpIfMovingFromExpandStep ( WorkItemTransition transition ) : void
CreateParallelledChildrenAndReturnWorkItemToMove ( WorkItemTransition transition, WorkStep parallelStep ) : WorkItem
CreateTransientWorkSteps ( WorkItem item, WorkStep expandStep ) : void
CreateTransientWorkStepsRecursively ( string transientRootPath, WorkStep rootStep, string workItemId ) : void
CreateTransitionIfMovingToExpandStep ( WorkItemTransition transition ) : WorkItemTransition
DoMove ( WorkItemTransition transition ) : WorkItemTransition
GetPathsToTraverseForParallelStep ( WorkItemTransition transition ) : IEnumerable
IsMovedUnderneathParallelParent ( WorkItemTransition transition, WorkItem &parallelParent ) : bool
IsMovingWithinParallelStep ( WorkItemTransition transition ) : bool
LockAndMoveToParallelRoot ( WorkItemTransition transition ) : void
MergeParallelWorkItems ( WorkItemTransition transition ) : WorkItem
Move ( WorkItem workItem, WorkStep toStep ) : void
MoveToWithinParallelStep ( WorkItemTransition transition ) : void
ThrowIfMovingExpandLockedWorkItem ( WorkItemTransition transition ) : void
ThrowIfMovingParallelLockedWorkItem ( WorkItemTransition transition ) : void
ThrowIfMovingToStepWithWrongClass ( WorkItemTransition transition ) : void
ThrowIfMovingToWithinExpandStep ( WorkItemTransition transition ) : void
ThrowIfViolatingWipLimit ( WorkItemTransition transition ) : void
TraverseParallelMoveHierarchy ( WorkItemTransition transition ) : WorkItemTransition
TraversePathsForParallelStep ( WorkItemTransition transition, IEnumerable pathsBetweenRootAndTarget ) : WorkItemTransition
TryUpdatingExpandLockIfMovingChildOfExpandedWorkItem ( WorkItemTransition resultTransition ) : void
TryUpdatingExpandLockOnParent ( WorkItem item ) : void

Method Details

MoveWorkItem() public method

public MoveWorkItem ( WorkItem workItem, WorkStep toStep ) : void
workItem WorkItem
toStep WorkStep
return void

WorkItemMover() public method

public WorkItemMover ( IWorkflowRepository workflowRepository ) : System
workflowRepository IWorkflowRepository
return System

WorkItemMover() public method

public WorkItemMover ( IWorkflowRepository workflowRepository, ITimeSource timeSource ) : System
workflowRepository IWorkflowRepository
timeSource ITimeSource
return System