src/main/java/de/uapcore/lightpit/dao/IssueDao.java

changeset 86
0a658e53177c
parent 75
33b6843fdf8a
child 105
250c5cbb8276
     1.1 --- a/src/main/java/de/uapcore/lightpit/dao/IssueDao.java	Sat May 30 18:12:38 2020 +0200
     1.2 +++ b/src/main/java/de/uapcore/lightpit/dao/IssueDao.java	Mon Jun 01 14:46:58 2020 +0200
     1.3 @@ -30,6 +30,7 @@
     1.4  
     1.5  import de.uapcore.lightpit.entities.Issue;
     1.6  import de.uapcore.lightpit.entities.Project;
     1.7 +import de.uapcore.lightpit.entities.Version;
     1.8  
     1.9  import java.sql.SQLException;
    1.10  import java.util.List;
    1.11 @@ -48,6 +49,15 @@
    1.12      List<Issue> list(Project project) throws SQLException;
    1.13  
    1.14      /**
    1.15 +     * Lists all issues that are somehow related to the specified version.
    1.16 +     *
    1.17 +     * @param version the version
    1.18 +     * @return a list of issues
    1.19 +     * @throws SQLException on any kind of SQL error
    1.20 +     */
    1.21 +    List<Issue> list(Version version) throws SQLException;
    1.22 +
    1.23 +    /**
    1.24       * Saves an instances to the database.
    1.25       * Implementations of this DAO must guarantee that the generated ID is stored in the instance.
    1.26       *

mercurial