1.1 --- a/src/main/java/de/uapcore/lightpit/dao/VersionDao.java Thu Oct 15 12:27:05 2020 +0200 1.2 +++ b/src/main/java/de/uapcore/lightpit/dao/VersionDao.java Thu Oct 15 13:31:52 2020 +0200 1.3 @@ -31,17 +31,5 @@ 1.4 import de.uapcore.lightpit.entities.Project; 1.5 import de.uapcore.lightpit.entities.Version; 1.6 1.7 -import java.sql.SQLException; 1.8 -import java.util.List; 1.9 - 1.10 -public interface VersionDao extends GenericDao<Version> { 1.11 - 1.12 - /** 1.13 - * Lists all versions for the specified project. 1.14 - * 1.15 - * @param project the project 1.16 - * @return a list of versions 1.17 - * @throws SQLException on any kind of SQL error 1.18 - */ 1.19 - List<Version> list(Project project) throws SQLException; 1.20 +public interface VersionDao extends ChildEntityDao<Version, Project> { 1.21 }