78 fun findComment(id: Int): IssueComment? |
78 fun findComment(id: Int): IssueComment? |
79 fun insertComment(issueComment: IssueComment): Int |
79 fun insertComment(issueComment: IssueComment): Int |
80 fun updateComment(issueComment: IssueComment) |
80 fun updateComment(issueComment: IssueComment) |
81 |
81 |
82 fun insertHistoryEvent(issue: Issue, newId: Int = 0) |
82 fun insertHistoryEvent(issue: Issue, newId: Int = 0) |
83 fun insertHistoryEvent(issueComment: IssueComment, newId: Int = 0) |
83 fun insertHistoryEvent(issue: Issue, issueComment: IssueComment, newId: Int = 0) |
84 |
84 |
85 /** |
85 /** |
86 * Lists the issue history of the project with [projectId] for the past [days]. |
86 * Lists the issue history of the project with [projectId] for the past [days]. |
87 */ |
87 */ |
88 fun listIssueHistory(projectId: Int, days: Int): List<IssueHistoryEntry> |
88 fun listIssueHistory(projectId: Int, days: Int): List<IssueHistoryEntry> |