diff -r 6105ee2cceaf -r 947d0f6a6a83 src/main/java/de/uapcore/lightpit/dao/IssueDao.java --- a/src/main/java/de/uapcore/lightpit/dao/IssueDao.java Thu Oct 15 12:27:05 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/dao/IssueDao.java Thu Oct 15 13:31:52 2020 +0200 @@ -36,18 +36,7 @@ import java.sql.SQLException; import java.util.List; -public interface IssueDao extends GenericDao { - - /** - * Lists all issues for the specified project. - * This is not guaranteed to contain version information. - * Use {@link #joinVersionInformation(Issue)} to obtain this information for a specific issue. - * - * @param project the project - * @return a list of issues - * @throws SQLException on any kind of SQL error - */ - List list(Project project) throws SQLException; +public interface IssueDao extends ChildEntityDao { /** * Lists all issues that are somehow related to the specified version. @@ -82,11 +71,12 @@ * Implementations of this DAO must guarantee that the generated ID is stored in the instance. * * @param instance the instance to insert + * @param project the parent project * @throws SQLException on any kind of SQL error * @see Issue#setId(int) */ @Override - void save(Issue instance) throws SQLException; + void save(Issue instance, Project project) throws SQLException; /** * Retrieves the affected, scheduled and resolved versions for the specified issue.