C# Class BinaryStudio.TaskManager.Logic.Core.HumanTaskRepository

The human task repository.
Inheritance: IHumanTaskRepository
Exibir arquivo Open project: dv00d00/BinaryStudio.TaskManager

Public Methods

Method Description
Add ( HumanTask humanTask ) : void

The add new human task.

AddHistory ( HumanTaskHistory humanTaskHistory ) : void
Delete ( int humanTaskId ) : void

The delete.

GetAll ( ) : IEnumerable

The get all.

GetAllHistoryForTask ( int taskId ) : IList

The get all history for task.

GetAllHistoryForUser ( int userId ) : IList
GetAllTasksForEmployee ( int employeeId ) : IList

The get all tasks for employee.

GetAllTasksForUserInProject ( int projectId, int userId ) : IEnumerable
GetAllTasksInProject ( int projectId ) : IList

The get all tasks in project.

GetById ( int humanTaskId ) : HumanTask

The get by id.

GetForCreator ( int creatorId ) : IEnumerable

The get for creator.

GetPriorities ( ) : IQueryable
GetUnassingnedTasks ( ) : IList

The get unassingned tasks.

GetUnassingnedTasks ( int projectId ) : IList
HumanTaskRepository ( DataBaseContext dataBaseContext ) : System.Collections.Generic

Initializes a new instance of the HumanTaskRepository class.

Update ( HumanTask humanTask ) : void

The update.

Method Details

Add() public method

The add new human task.
public Add ( HumanTask humanTask ) : void
humanTask BinaryStudio.TaskManager.Logic.Domain.HumanTask /// The human task. ///
return void

AddHistory() public method

public AddHistory ( HumanTaskHistory humanTaskHistory ) : void
humanTaskHistory BinaryStudio.TaskManager.Logic.Domain.HumanTaskHistory
return void

Delete() public method

The delete.
public Delete ( int humanTaskId ) : void
humanTaskId int /// The human task id. ///
return void

GetAll() public method

The get all.
public GetAll ( ) : IEnumerable
return IEnumerable

GetAllHistoryForTask() public method

The get all history for task.
public GetAllHistoryForTask ( int taskId ) : IList
taskId int /// The task id. ///
return IList

GetAllHistoryForUser() public method

public GetAllHistoryForUser ( int userId ) : IList
userId int
return IList

GetAllTasksForEmployee() public method

The get all tasks for employee.
public GetAllTasksForEmployee ( int employeeId ) : IList
employeeId int /// The employee id. ///
return IList

GetAllTasksForUserInProject() public method

public GetAllTasksForUserInProject ( int projectId, int userId ) : IEnumerable
projectId int
userId int
return IEnumerable

GetAllTasksInProject() public method

The get all tasks in project.
public GetAllTasksInProject ( int projectId ) : IList
projectId int /// The project id. ///
return IList

GetById() public method

The get by id.
public GetById ( int humanTaskId ) : HumanTask
humanTaskId int /// The human task id. ///
return BinaryStudio.TaskManager.Logic.Domain.HumanTask

GetForCreator() public method

The get for creator.
public GetForCreator ( int creatorId ) : IEnumerable
creatorId int /// The creator id. ///
return IEnumerable

GetPriorities() public method

public GetPriorities ( ) : IQueryable
return IQueryable

GetUnassingnedTasks() public method

The get unassingned tasks.
public GetUnassingnedTasks ( ) : IList
return IList

GetUnassingnedTasks() public method

public GetUnassingnedTasks ( int projectId ) : IList
projectId int
return IList

HumanTaskRepository() public method

Initializes a new instance of the HumanTaskRepository class.
public HumanTaskRepository ( DataBaseContext dataBaseContext ) : System.Collections.Generic
dataBaseContext BinaryStudio.TaskManager.Logic.Domain.DataBaseContext /// The data base context. ///
return System.Collections.Generic

Update() public method

The update.
public Update ( HumanTask humanTask ) : void
humanTask BinaryStudio.TaskManager.Logic.Domain.HumanTask /// The human task. ///
return void