C# Class WhiskWork.Core.Workflow

Inheritance: WorkflowRepositoryInteraction, IWorkflow
Afficher le fichier Open project: jorn-ola-birkeland/WhiskWork Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetWorkItemOrThrow ( string workItemId ) : WorkItem
ThrowIfConflictingTimestamp ( WorkItem currentWorkItem, WorkItem changedWorkItem ) : void

Method Details

CreateWorkItem() public méthode

public CreateWorkItem ( WorkItem newWorkItem ) : void
newWorkItem WorkItem
Résultat void

CreateWorkStep() public méthode

public CreateWorkStep ( WorkStep workStep ) : void
workStep WorkStep
Résultat void

DeleteWorkItem() public méthode

public DeleteWorkItem ( string id ) : void
id string
Résultat void

DeleteWorkStep() public méthode

public DeleteWorkStep ( string path ) : void
path string
Résultat void

ExistsWorkItem() public méthode

public ExistsWorkItem ( string workItemId ) : bool
workItemId string
Résultat bool

ExistsWorkStep() public méthode

public ExistsWorkStep ( string path ) : bool
path string
Résultat bool

GetChildWorkItems() public méthode

public GetChildWorkItems ( WorkItemParent parent ) : IEnumerable
parent WorkItemParent
Résultat IEnumerable

GetChildWorkSteps() public méthode

public GetChildWorkSteps ( string path ) : IEnumerable
path string
Résultat IEnumerable

GetWorkItem() public méthode

public GetWorkItem ( string id ) : WorkItem
id string
Résultat WorkItem

GetWorkItems() public méthode

public GetWorkItems ( string path ) : IEnumerable
path string
Résultat IEnumerable

GetWorkStep() public méthode

public GetWorkStep ( string path ) : WorkStep
path string
Résultat WorkStep

MoveWorkStep() public méthode

public MoveWorkStep ( WorkStep stepToMove, WorkStep toStep ) : void
stepToMove WorkStep
toStep WorkStep
Résultat void

UpdateWorkItem() public méthode

public UpdateWorkItem ( WorkItem changedWorkItem ) : void
changedWorkItem WorkItem
Résultat void

UpdateWorkStep() public méthode

public UpdateWorkStep ( WorkStep workStep ) : void
workStep WorkStep
Résultat void

Workflow() public méthode

public Workflow ( IWorkflowRepository workflowRepository ) : System
workflowRepository IWorkflowRepository
Résultat System