C# Class WhiskWork.Core.Workflow

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

Public Methods

Method Description
CreateWorkItem ( WorkItem newWorkItem ) : void
CreateWorkStep ( WorkStep workStep ) : void
DeleteWorkItem ( string id ) : void
DeleteWorkStep ( string path ) : void
ExistsWorkItem ( string workItemId ) : bool
ExistsWorkStep ( string path ) : bool
GetChildWorkItems ( WorkItemParent parent ) : IEnumerable
GetChildWorkSteps ( string path ) : IEnumerable
GetWorkItem ( string id ) : WorkItem
GetWorkItems ( string path ) : IEnumerable
GetWorkStep ( string path ) : WorkStep
MoveWorkStep ( WorkStep stepToMove, WorkStep toStep ) : void
UpdateWorkItem ( WorkItem changedWorkItem ) : void
UpdateWorkStep ( WorkStep workStep ) : void
Workflow ( IWorkflowRepository workflowRepository ) : System

Private Methods

Method Description
GetWorkItemOrThrow ( string workItemId ) : WorkItem
ThrowIfConflictingTimestamp ( WorkItem currentWorkItem, WorkItem changedWorkItem ) : void

Method Details

CreateWorkItem() public method

public CreateWorkItem ( WorkItem newWorkItem ) : void
newWorkItem WorkItem
return void

CreateWorkStep() public method

public CreateWorkStep ( WorkStep workStep ) : void
workStep WorkStep
return void

DeleteWorkItem() public method

public DeleteWorkItem ( string id ) : void
id string
return void

DeleteWorkStep() public method

public DeleteWorkStep ( string path ) : void
path string
return void

ExistsWorkItem() public method

public ExistsWorkItem ( string workItemId ) : bool
workItemId string
return bool

ExistsWorkStep() public method

public ExistsWorkStep ( string path ) : bool
path string
return bool

GetChildWorkItems() public method

public GetChildWorkItems ( WorkItemParent parent ) : IEnumerable
parent WorkItemParent
return IEnumerable

GetChildWorkSteps() public method

public GetChildWorkSteps ( string path ) : IEnumerable
path string
return IEnumerable

GetWorkItem() public method

public GetWorkItem ( string id ) : WorkItem
id string
return WorkItem

GetWorkItems() public method

public GetWorkItems ( string path ) : IEnumerable
path string
return IEnumerable

GetWorkStep() public method

public GetWorkStep ( string path ) : WorkStep
path string
return WorkStep

MoveWorkStep() public method

public MoveWorkStep ( WorkStep stepToMove, WorkStep toStep ) : void
stepToMove WorkStep
toStep WorkStep
return void

UpdateWorkItem() public method

public UpdateWorkItem ( WorkItem changedWorkItem ) : void
changedWorkItem WorkItem
return void

UpdateWorkStep() public method

public UpdateWorkStep ( WorkStep workStep ) : void
workStep WorkStep
return void

Workflow() public method

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