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

changeset 232
296e12ff8d1c
parent 207
479dd7993ef9
child 235
4258b9e010ae
--- a/src/main/kotlin/de/uapcore/lightpit/dao/DataAccessObject.kt	Thu Aug 19 14:51:04 2021 +0200
+++ b/src/main/kotlin/de/uapcore/lightpit/dao/DataAccessObject.kt	Thu Aug 19 17:20:43 2021 +0200
@@ -76,6 +76,9 @@
 
     fun listComments(issue: Issue): List<IssueComment>
     fun findComment(id: Int): IssueComment?
-    fun insertComment(issueComment: IssueComment)
+    fun insertComment(issueComment: IssueComment): Int
     fun updateComment(issueComment: IssueComment)
-}
\ No newline at end of file
+
+    fun insertHistoryEvent(issue: Issue, newId: Int = 0)
+    fun insertHistoryEvent(issueComment: IssueComment, newId: Int = 0)
+}

mercurial