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

changeset 62
833e0385572a
parent 59
c759c60507a2
child 72
0646c14e36fb
     1.1 --- a/src/main/java/de/uapcore/lightpit/dao/VersionDao.java	Sun May 17 16:38:04 2020 +0200
     1.2 +++ b/src/main/java/de/uapcore/lightpit/dao/VersionDao.java	Mon May 18 21:05:57 2020 +0200
     1.3 @@ -34,14 +34,7 @@
     1.4  import java.sql.SQLException;
     1.5  import java.util.List;
     1.6  
     1.7 -public interface VersionDao {
     1.8 -
     1.9 -    Version find(int id) throws SQLException;
    1.10 -    void save(Version instance) throws SQLException;
    1.11 -    boolean update(Version instance) throws SQLException;
    1.12 -    default void saveOrUpdate(Version instance) throws SQLException {
    1.13 -        if (!update(instance)) save(instance);
    1.14 -    }
    1.15 +public interface VersionDao extends GenericDao<Version> {
    1.16  
    1.17      /**
    1.18       * Lists all versions for the specified project.

mercurial