diff -r 3d16ad54b3dc -r 0a658e53177c src/main/java/de/uapcore/lightpit/dao/IssueDao.java --- a/src/main/java/de/uapcore/lightpit/dao/IssueDao.java Sat May 30 18:12:38 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/dao/IssueDao.java Mon Jun 01 14:46:58 2020 +0200 @@ -30,6 +30,7 @@ import de.uapcore.lightpit.entities.Issue; import de.uapcore.lightpit.entities.Project; +import de.uapcore.lightpit.entities.Version; import java.sql.SQLException; import java.util.List; @@ -48,6 +49,15 @@ List list(Project project) throws SQLException; /** + * Lists all issues that are somehow related to the specified version. + * + * @param version the version + * @return a list of issues + * @throws SQLException on any kind of SQL error + */ + List list(Version version) throws SQLException; + + /** * Saves an instances to the database. * Implementations of this DAO must guarantee that the generated ID is stored in the instance. *