C# Class JelloScrum.Model.Entities.SprintUser

Inheritance: ModelBase
Show file Open project: auxilium/JelloScrum Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddRole ( SprintRole role ) : void

Adds the given sprintrole to the current set of sprintroles.

DecoupleSprintUser ( ) : void

Decouple this sprintuser from its sprint and user so that it can be deleted.

GetClosedTasks ( ) : ReadOnlyCollection

Gets a readonly collection of the tasks this user has closed.

GetTakenTasks ( ) : ReadOnlyCollection

Gets a readonly collection of the tasks this user has taken

GetTakenTasksWithSprintBacklogPriority ( Priority priority ) : IList

Gets all tasks this user has taken with the given sprintbacklog priority todo: expensive!

HasExactlyThisSprintRole ( SprintRole role ) : bool

Determines if this sprintuser has EXACTLY the same sprintrole as the given role

HasSprintRole ( SprintRole role ) : bool

Determines if this sprintuser has the given sprintrole

RemoveRole ( SprintRole role ) : void

Removes the given role from the current set of roles.

SprintUser ( ) : System

Initializes a new instance of the SprintUser class.

SprintUser ( User user, JelloScrum.Model.Entities.Sprint sprint, SprintRole role ) : System

Initializes a new instance of the SprintUser class for the given user, sprint and role.

TakeOverTask ( Task task ) : void

Take over the given task from its current assigned user

TakeTask ( Task task ) : void

Take the given task

UnAssignTask ( Task task ) : void

The assigned user gives the task up and is no longer the assigned user. The tasks state is set to open again.

Method Details

AddRole() public method

Adds the given sprintrole to the current set of sprintroles.
public AddRole ( SprintRole role ) : void
role SprintRole The role.
return void

DecoupleSprintUser() public method

Decouple this sprintuser from its sprint and user so that it can be deleted.
public DecoupleSprintUser ( ) : void
return void

GetClosedTasks() public method

Gets a readonly collection of the tasks this user has closed.
public GetClosedTasks ( ) : ReadOnlyCollection
return ReadOnlyCollection

GetTakenTasks() public method

Gets a readonly collection of the tasks this user has taken
public GetTakenTasks ( ) : ReadOnlyCollection
return ReadOnlyCollection

GetTakenTasksWithSprintBacklogPriority() public method

Gets all tasks this user has taken with the given sprintbacklog priority todo: expensive!
public GetTakenTasksWithSprintBacklogPriority ( Priority priority ) : IList
priority Priority The sprintbacklog priority.
return IList

HasExactlyThisSprintRole() public method

Determines if this sprintuser has EXACTLY the same sprintrole as the given role
public HasExactlyThisSprintRole ( SprintRole role ) : bool
role SprintRole The role.
return bool

HasSprintRole() public method

Determines if this sprintuser has the given sprintrole
public HasSprintRole ( SprintRole role ) : bool
role SprintRole The role.
return bool

RemoveRole() public method

Removes the given role from the current set of roles.
public RemoveRole ( SprintRole role ) : void
role SprintRole The role.
return void

SprintUser() public method

Initializes a new instance of the SprintUser class.
public SprintUser ( ) : System
return System

SprintUser() public method

Initializes a new instance of the SprintUser class for the given user, sprint and role.
public SprintUser ( User user, JelloScrum.Model.Entities.Sprint sprint, SprintRole role ) : System
user User The user.
sprint JelloScrum.Model.Entities.Sprint The sprint.
role SprintRole The role.
return System

TakeOverTask() public method

Take over the given task from its current assigned user
public TakeOverTask ( Task task ) : void
task Task The task.
return void

TakeTask() public method

Take the given task
public TakeTask ( Task task ) : void
task Task The task.
return void

UnAssignTask() public method

The assigned user gives the task up and is no longer the assigned user. The tasks state is set to open again.
public UnAssignTask ( Task task ) : void
task Task The taks.
return void