C# 클래스 BinaryStudio.TaskManager.Logic.Core.TaskProcessor

The task processor.
상속: ITaskProcessor
파일 보기 프로젝트 열기: dv00d00/BinaryStudio.TaskManager 1 사용 예제들

공개 메소드들

메소드 설명
AddHistory ( HumanTaskHistory newHumanTask ) : void

Adds the history.

CloseTask ( int taskId ) : void

The close current task.

CreateTask ( HumanTask task ) : void

The create task without reminder.

CreateTask ( HumanTask task, Reminder reminder ) : void

The create task with reminder.

DeleteTask ( int taskId ) : void

The delete current task with all reminders for this task.

GetAllClosedTasksForProject ( int projectId ) : IEnumerable

The get all closed tasks for project.

GetAllClosedTasksForUserInProject ( int projectId, int userId ) : IEnumerable

The get all closed tasks for user in project.

GetAllHistoryForTask ( int taskId ) : IList

The get all history for task.

GetAllHistoryForUser ( int userId ) : IList

The get all history for user.

GetAllOpenTasksForProject ( int projectId ) : IEnumerable

The get all open tasks for project.

GetAllOpenTasksForUserInProject ( int projectId, int userId ) : IEnumerable

The get all open tasks for user in project.

GetAllTasks ( ) : IEnumerable

The get all tasks.

GetAllTasksForUserInProject ( int projectId, int userId ) : IEnumerable

The get all tasks for user in project.

GetAllTasksInProject ( int projectId ) : IEnumerable

The get all tasks in project.

GetOpenTasksListInProject ( int projectId ) : IEnumerable

The get tasks in project list.

GetPrioritiesList ( ) : IEnumerable

The get priorities list.

GetTaskById ( int taskId ) : HumanTask

The get task by id.

GetTasksList ( ) : IEnumerable

The get tasks list.

GetTasksList ( int userId ) : IEnumerable

The get tasks list.

GetUnAssignedTasksForProject ( int projectId ) : IEnumerable

The get un assigned tasks for project.

GetUnassignedTasks ( ) : IEnumerable

The get unassigned tasks.

MoveTask ( int taskId, int userId ) : void

The move task between users.

MoveTaskToUnassigned ( int taskId ) : void

The move task to unassigned.

TaskProcessor ( IHumanTaskRepository humanTaskRepository, IReminderProcessor reminderProcessor, IUserRepository userRepository ) : System

Initializes a new instance of the TaskProcessor class.

UpdateTask ( HumanTask task ) : void

The update task.

UpdateTask ( HumanTask task, Reminder reminder ) : void

The update task with reminder.

메소드 상세

AddHistory() 공개 메소드

Adds the history.
public AddHistory ( HumanTaskHistory newHumanTask ) : void
newHumanTask BinaryStudio.TaskManager.Logic.Domain.HumanTaskHistory The new human task.
리턴 void

CloseTask() 공개 메소드

The close current task.
public CloseTask ( int taskId ) : void
taskId int /// The task id. ///
리턴 void

CreateTask() 공개 메소드

The create task without reminder.
public CreateTask ( HumanTask task ) : void
task BinaryStudio.TaskManager.Logic.Domain.HumanTask The current task.
리턴 void

CreateTask() 공개 메소드

The create task with reminder.
public CreateTask ( HumanTask task, Reminder reminder ) : void
task BinaryStudio.TaskManager.Logic.Domain.HumanTask The current task.
reminder BinaryStudio.TaskManager.Logic.Domain.Reminder The reminder.
리턴 void

DeleteTask() 공개 메소드

The delete current task with all reminders for this task.
public DeleteTask ( int taskId ) : void
taskId int /// The task id. ///
리턴 void

GetAllClosedTasksForProject() 공개 메소드

The get all closed tasks for project.
public GetAllClosedTasksForProject ( int projectId ) : IEnumerable
projectId int /// The project id. ///
리턴 IEnumerable

GetAllClosedTasksForUserInProject() 공개 메소드

The get all closed tasks for user in project.
public GetAllClosedTasksForUserInProject ( int projectId, int userId ) : IEnumerable
projectId int /// The project id. ///
userId int /// The user id. ///
리턴 IEnumerable

GetAllHistoryForTask() 공개 메소드

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

GetAllHistoryForUser() 공개 메소드

The get all history for user.
public GetAllHistoryForUser ( int userId ) : IList
userId int /// The user id. ///
리턴 IList

GetAllOpenTasksForProject() 공개 메소드

The get all open tasks for project.
public GetAllOpenTasksForProject ( int projectId ) : IEnumerable
projectId int /// The project id. ///
리턴 IEnumerable

GetAllOpenTasksForUserInProject() 공개 메소드

The get all open tasks for user in project.
public GetAllOpenTasksForUserInProject ( int projectId, int userId ) : IEnumerable
projectId int /// The project id. ///
userId int /// The user id. ///
리턴 IEnumerable

GetAllTasks() 공개 메소드

The get all tasks.
public GetAllTasks ( ) : IEnumerable
리턴 IEnumerable

GetAllTasksForUserInProject() 공개 메소드

The get all tasks for user in project.
public GetAllTasksForUserInProject ( int projectId, int userId ) : IEnumerable
projectId int /// The project id. ///
userId int /// The user id. ///
리턴 IEnumerable

GetAllTasksInProject() 공개 메소드

The get all tasks in project.
public GetAllTasksInProject ( int projectId ) : IEnumerable
projectId int /// The project id. ///
리턴 IEnumerable

GetOpenTasksListInProject() 공개 메소드

The get tasks in project list.
public GetOpenTasksListInProject ( int projectId ) : IEnumerable
projectId int /// The project id. ///
리턴 IEnumerable

GetPrioritiesList() 공개 메소드

The get priorities list.
public GetPrioritiesList ( ) : IEnumerable
리턴 IEnumerable

GetTaskById() 공개 메소드

The get task by id.
public GetTaskById ( int taskId ) : HumanTask
taskId int /// The task id. ///
리턴 BinaryStudio.TaskManager.Logic.Domain.HumanTask

GetTasksList() 공개 메소드

The get tasks list.
public GetTasksList ( ) : IEnumerable
리턴 IEnumerable

GetTasksList() 공개 메소드

The get tasks list.
public GetTasksList ( int userId ) : IEnumerable
userId int /// The user id. ///
리턴 IEnumerable

GetUnAssignedTasksForProject() 공개 메소드

The get un assigned tasks for project.
public GetUnAssignedTasksForProject ( int projectId ) : IEnumerable
projectId int /// The project id. ///
리턴 IEnumerable

GetUnassignedTasks() 공개 메소드

The get unassigned tasks.
public GetUnassignedTasks ( ) : IEnumerable
리턴 IEnumerable

MoveTask() 공개 메소드

The move task between users.
public MoveTask ( int taskId, int userId ) : void
taskId int /// The task id. ///
userId int /// The user id. ///
리턴 void

MoveTaskToUnassigned() 공개 메소드

The move task to unassigned.
public MoveTaskToUnassigned ( int taskId ) : void
taskId int /// The task id. ///
리턴 void

TaskProcessor() 공개 메소드

Initializes a new instance of the TaskProcessor class.
public TaskProcessor ( IHumanTaskRepository humanTaskRepository, IReminderProcessor reminderProcessor, IUserRepository userRepository ) : System
humanTaskRepository IHumanTaskRepository /// The human task repository. ///
reminderProcessor IReminderProcessor /// The reminder repository. ///
userRepository IUserRepository /// The user repository. ///
리턴 System

UpdateTask() 공개 메소드

The update task.
public UpdateTask ( HumanTask task ) : void
task BinaryStudio.TaskManager.Logic.Domain.HumanTask The current task.
리턴 void

UpdateTask() 공개 메소드

The update task with reminder.
public UpdateTask ( HumanTask task, Reminder reminder ) : void
task BinaryStudio.TaskManager.Logic.Domain.HumanTask The current task.
reminder BinaryStudio.TaskManager.Logic.Domain.Reminder The reminder.
리턴 void