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

changeset 86
0a658e53177c
parent 80
27a25f32048e
child 128
947d0f6a6a83
equal deleted inserted replaced
85:3d16ad54b3dc 86:0a658e53177c
28 */ 28 */
29 package de.uapcore.lightpit.dao; 29 package de.uapcore.lightpit.dao;
30 30
31 import de.uapcore.lightpit.entities.Project; 31 import de.uapcore.lightpit.entities.Project;
32 import de.uapcore.lightpit.entities.Version; 32 import de.uapcore.lightpit.entities.Version;
33 import de.uapcore.lightpit.entities.VersionStatistics;
34 33
35 import java.sql.SQLException; 34 import java.sql.SQLException;
36 import java.util.List; 35 import java.util.List;
37 36
38 public interface VersionDao extends GenericDao<Version> { 37 public interface VersionDao extends GenericDao<Version> {
43 * @param project the project 42 * @param project the project
44 * @return a list of versions 43 * @return a list of versions
45 * @throws SQLException on any kind of SQL error 44 * @throws SQLException on any kind of SQL error
46 */ 45 */
47 List<Version> list(Project project) throws SQLException; 46 List<Version> list(Project project) throws SQLException;
48
49 /**
50 * Retrieves statistics about issues that arose in a version.
51 *
52 * @param version the version
53 * @return version statistics
54 * @throws SQLException on any kind of SQL error
55 */
56 VersionStatistics statsOpenedIssues(Version version) throws SQLException;
57
58 /**
59 * Retrieves statistics about issues that are scheduled for a version.
60 *
61 * @param version the version
62 * @return version statistics
63 * @throws SQLException on any kind of SQL error
64 */
65 VersionStatistics statsScheduledIssues(Version version) throws SQLException;
66
67 /**
68 * Retrieves statistics about issues that are resolved in a version.
69 *
70 * @param version the version
71 * @return version statistics
72 * @throws SQLException on any kind of SQL error
73 */
74 VersionStatistics statsResolvedIssues(Version version) throws SQLException;
75 } 47 }

mercurial