1.1 --- a/src/main/kotlin/de/uapcore/lightpit/dao/DataAccessObject.kt Fri Dec 30 13:21:09 2022 +0100 1.2 +++ b/src/main/kotlin/de/uapcore/lightpit/dao/DataAccessObject.kt Fri Dec 30 19:04:34 2022 +0100 1.3 @@ -70,6 +70,7 @@ 1.4 fun collectIssueSummary(project: Project): IssueSummary 1.5 fun collectIssueSummary(assignee: User): IssueSummary 1.6 1.7 + fun listIssues(project: Project): List<Issue> 1.8 fun listIssues(project: Project, version: Version?, component: Component?): List<Issue> 1.9 fun findIssue(id: Int): Issue? 1.10 fun insertIssue(issue: Issue): Int 1.11 @@ -80,6 +81,13 @@ 1.12 fun insertComment(issueComment: IssueComment): Int 1.13 fun updateComment(issueComment: IssueComment) 1.14 1.15 + /** 1.16 + * Inserts an issue relation, if it does not already exist. 1.17 + */ 1.18 + fun insertIssueRelation(rel: IssueRelation) 1.19 + fun deleteIssueRelation(rel: IssueRelation) 1.20 + fun listIssueRelations(issue: Issue): List<IssueRelation> 1.21 + 1.22 fun insertHistoryEvent(issue: Issue, newId: Int = 0) 1.23 fun insertHistoryEvent(issue: Issue, issueComment: IssueComment, newId: Int = 0) 1.24