C# Class IssueTracker.Data.Services.IssueService

Inheritance: IIssueService
Show file Open project: radike/issue-tracker Class Usage Examples

Public Methods

Method Description
Add ( Issue issue ) : Issue
GetAllIssues ( ) : ICollection
GetAllIssues ( System.Guid projectId ) : ICollection
GetAllVersions ( System.Guid id ) : ICollection
GetByProjectCodeAndIssueNumber ( string projectCode, int issueNumber ) : Issue
GetCommentsForIssue ( System.Guid issueId ) : ICollection
GetIssueCount ( ) : int
GetIssueCount ( IssueType issueType ) : int
GetIssueCount ( IssueType issueType, System.Guid projectId ) : int
GetIssueCount ( IssueType issueType, System.Guid projectId, bool includeClosedIssue = true ) : int
GetIssueCount ( IssueType issueType, Project project, bool includeClosedIssue = true ) : int
GetIssuesByType ( IssueType type ) : ICollection
GetIssuesByType ( IssueType type, System.Guid projectId ) : ICollection
GetIssuesByType ( IssueType issueType, System.Guid projectId, bool includeClosedIssue = false ) : ICollection
GetNewCodeNumber ( ) : int
GetNewEntityForEditing ( System.Guid issueId ) : Issue
GetNewEntityForEditing ( string projectCode, int issueNumber ) : Issue
GetNewIssues ( System.Guid projectId ) : ICollection
GetRaisedIssueCount ( System.DateTime fromDate, System.DateTime toDate ) : int
GetRaisedIssueCount ( System.Guid projectId, System.DateTime fromDate, System.DateTime toDate ) : int
GetRaisedIssues ( System.DateTime fromDate, System.DateTime toDate ) : ICollection
GetRaisedIssues ( System.Guid projectId, System.DateTime fromDate, System.DateTime toDate ) : ICollection
GetRaisedIssues ( System.Guid projectId, int year, int month ) : ICollection
GetRaisedIssues ( System.Guid projectId, int year, int monthFrom, int monthTo ) : ICollection
GetRaisedIssues ( int year, int monthFrom, int monthTo ) : ICollection
GetResolvedIssues ( System.Guid projectId, System.DateTime fromDate, System.DateTime toDate ) : ICollection
GetResolvedIssues ( System.Guid projectId, int year, int month ) : ICollection
GetResolvedIssues ( System.Guid projectId, int year, int monthFrom, int monthTo ) : ICollection
IssueService ( IIssueRepository issueRepository, ICommentRepository commentRepo ) : System

Method Details

Add() public method

public Add ( Issue issue ) : Issue
issue IssueTracker.Entities.Issue
return IssueTracker.Entities.Issue

GetAllIssues() public method

public GetAllIssues ( ) : ICollection
return ICollection

GetAllIssues() public method

public GetAllIssues ( System.Guid projectId ) : ICollection
projectId System.Guid
return ICollection

GetAllVersions() public method

public GetAllVersions ( System.Guid id ) : ICollection
id System.Guid
return ICollection

GetByProjectCodeAndIssueNumber() public method

public GetByProjectCodeAndIssueNumber ( string projectCode, int issueNumber ) : Issue
projectCode string
issueNumber int
return IssueTracker.Entities.Issue

GetCommentsForIssue() public method

public GetCommentsForIssue ( System.Guid issueId ) : ICollection
issueId System.Guid
return ICollection

GetIssueCount() public method

public GetIssueCount ( ) : int
return int

GetIssueCount() public method

public GetIssueCount ( IssueType issueType ) : int
issueType IssueType
return int

GetIssueCount() public method

public GetIssueCount ( IssueType issueType, System.Guid projectId ) : int
issueType IssueType
projectId System.Guid
return int

GetIssueCount() public method

public GetIssueCount ( IssueType issueType, System.Guid projectId, bool includeClosedIssue = true ) : int
issueType IssueType
projectId System.Guid
includeClosedIssue bool
return int

GetIssueCount() public method

public GetIssueCount ( IssueType issueType, Project project, bool includeClosedIssue = true ) : int
issueType IssueType
project IssueTracker.Entities.Project
includeClosedIssue bool
return int

GetIssuesByType() public method

public GetIssuesByType ( IssueType type ) : ICollection
type IssueType
return ICollection

GetIssuesByType() public method

public GetIssuesByType ( IssueType type, System.Guid projectId ) : ICollection
type IssueType
projectId System.Guid
return ICollection

GetIssuesByType() public method

public GetIssuesByType ( IssueType issueType, System.Guid projectId, bool includeClosedIssue = false ) : ICollection
issueType IssueType
projectId System.Guid
includeClosedIssue bool
return ICollection

GetNewCodeNumber() public method

public GetNewCodeNumber ( ) : int
return int

GetNewEntityForEditing() public method

public GetNewEntityForEditing ( System.Guid issueId ) : Issue
issueId System.Guid
return IssueTracker.Entities.Issue

GetNewEntityForEditing() public method

public GetNewEntityForEditing ( string projectCode, int issueNumber ) : Issue
projectCode string
issueNumber int
return IssueTracker.Entities.Issue

GetNewIssues() public method

public GetNewIssues ( System.Guid projectId ) : ICollection
projectId System.Guid
return ICollection

GetRaisedIssueCount() public method

public GetRaisedIssueCount ( System.DateTime fromDate, System.DateTime toDate ) : int
fromDate System.DateTime
toDate System.DateTime
return int

GetRaisedIssueCount() public method

public GetRaisedIssueCount ( System.Guid projectId, System.DateTime fromDate, System.DateTime toDate ) : int
projectId System.Guid
fromDate System.DateTime
toDate System.DateTime
return int

GetRaisedIssues() public method

public GetRaisedIssues ( System.DateTime fromDate, System.DateTime toDate ) : ICollection
fromDate System.DateTime
toDate System.DateTime
return ICollection

GetRaisedIssues() public method

public GetRaisedIssues ( System.Guid projectId, System.DateTime fromDate, System.DateTime toDate ) : ICollection
projectId System.Guid
fromDate System.DateTime
toDate System.DateTime
return ICollection

GetRaisedIssues() public method

public GetRaisedIssues ( System.Guid projectId, int year, int month ) : ICollection
projectId System.Guid
year int
month int
return ICollection

GetRaisedIssues() public method

public GetRaisedIssues ( System.Guid projectId, int year, int monthFrom, int monthTo ) : ICollection
projectId System.Guid
year int
monthFrom int
monthTo int
return ICollection

GetRaisedIssues() public method

public GetRaisedIssues ( int year, int monthFrom, int monthTo ) : ICollection
year int
monthFrom int
monthTo int
return ICollection

GetResolvedIssues() public method

public GetResolvedIssues ( System.Guid projectId, System.DateTime fromDate, System.DateTime toDate ) : ICollection
projectId System.Guid
fromDate System.DateTime
toDate System.DateTime
return ICollection

GetResolvedIssues() public method

public GetResolvedIssues ( System.Guid projectId, int year, int month ) : ICollection
projectId System.Guid
year int
month int
return ICollection

GetResolvedIssues() public method

public GetResolvedIssues ( System.Guid projectId, int year, int monthFrom, int monthTo ) : ICollection
projectId System.Guid
year int
monthFrom int
monthTo int
return ICollection

IssueService() public method

public IssueService ( IIssueRepository issueRepository, ICommentRepository commentRepo ) : System
issueRepository IIssueRepository
commentRepo ICommentRepository
return System