71 fun collectIssueSummary(project: Project): IssueSummary |
71 fun collectIssueSummary(project: Project): IssueSummary |
72 fun collectIssueSummary(assignee: User): IssueSummary |
72 fun collectIssueSummary(assignee: User): IssueSummary |
73 |
73 |
74 fun mergeCommitRefs(refs: List<CommitRef>) |
74 fun mergeCommitRefs(refs: List<CommitRef>) |
75 |
75 |
|
76 /** |
|
77 * Lists all issues. |
|
78 * The result will only [includeDone] issues, if requested. |
|
79 */ |
|
80 fun listIssues(includeDone: Boolean): List<Issue> |
|
81 |
|
82 /** |
|
83 * Lists issues for the specified [project]. |
|
84 * The result will only [includeDone] issues, if requested. |
|
85 */ |
76 fun listIssues(project: Project, includeDone: Boolean): List<Issue> |
86 fun listIssues(project: Project, includeDone: Boolean): List<Issue> |
|
87 |
|
88 /** |
|
89 * Lists all issues for the specified [project]. |
|
90 * The result will only [includeDone] issues, if requested. |
|
91 * When a [specificVersion] or a [specificComponent] is requested, |
|
92 * the result is filtered for [version] or [component] respectively. |
|
93 * In both cases null means that only issues without version or component shall be returned. |
|
94 */ |
77 fun listIssues( |
95 fun listIssues( |
78 project: Project, |
96 project: Project, |
79 includeDone: Boolean, |
97 includeDone: Boolean, |
80 specificVersion: Boolean, |
98 specificVersion: Boolean, |
81 version: Version?, |
99 version: Version?, |
95 * Inserts an issue relation, if it does not already exist. |
113 * Inserts an issue relation, if it does not already exist. |
96 */ |
114 */ |
97 fun insertIssueRelation(rel: IssueRelation) |
115 fun insertIssueRelation(rel: IssueRelation) |
98 fun deleteIssueRelation(rel: IssueRelation) |
116 fun deleteIssueRelation(rel: IssueRelation) |
99 fun listIssueRelations(issue: Issue): List<IssueRelation> |
117 fun listIssueRelations(issue: Issue): List<IssueRelation> |
|
118 fun getIssueRelationMap(includeDone: Boolean): IssueRelationMap |
100 fun getIssueRelationMap(project: Project, includeDone: Boolean): IssueRelationMap |
119 fun getIssueRelationMap(project: Project, includeDone: Boolean): IssueRelationMap |
101 |
120 |
102 fun insertHistoryEvent(issue: Issue, newId: Int = 0) |
121 fun insertHistoryEvent(issue: Issue, newId: Int = 0) |
103 fun insertHistoryEvent(issue: Issue, issueComment: IssueComment, newId: Int = 0) |
122 fun insertHistoryEvent(issue: Issue, issueComment: IssueComment, newId: Int = 0) |
104 |
123 |
105 /** |
124 /** |
106 * Lists the issue history of the project with [projectId] for the past [days]. |
125 * Lists the issue history, optionally restricted to [project], for the past [days]. |
107 */ |
126 */ |
108 fun listIssueHistory(projectId: Int, days: Int): List<IssueHistoryEntry> |
127 fun listIssueHistory(project: Project?, days: Int): List<IssueHistoryEntry> |
109 |
128 |
110 /** |
129 /** |
111 * Lists the issue comment history of the project with [projectId] for the past [days]. |
130 * Lists the issue comment history, optionally restricted to [project], for the past [days]. |
112 */ |
131 */ |
113 fun listIssueCommentHistory(projectId: Int, days: Int): List<IssueCommentHistoryEntry> |
132 fun listIssueCommentHistory(project: Project?, days: Int): List<IssueCommentHistoryEntry> |
114 fun listCommitRefs(issue: Issue): List<CommitRef> |
133 fun listCommitRefs(issue: Issue): List<CommitRef> |
115 } |
134 } |