src/main/kotlin/de/uapcore/lightpit/dao/DataAccessObject.kt

changeset 242
b7f3e972b13c
parent 241
1ca4f27cefe8
child 248
90dc13c78b5d
equal deleted inserted replaced
241:1ca4f27cefe8 242:b7f3e972b13c
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>

mercurial