]> git.somenet.org - pub/jan/dst18.git/blob - ass1-jpa/src/main/java/dst/ass1/jpa/dao/ICourseDAO.java
[3.1] seems to work.
[pub/jan/dst18.git] / ass1-jpa / src / main / java / dst / ass1 / jpa / dao / ICourseDAO.java
1 package dst.ass1.jpa.dao;
2
3 import java.util.Collection;
4 import java.util.Date;
5
6 import dst.ass1.jpa.model.ICourse;
7
8 public interface ICourseDAO extends GenericDAO<ICourse> {
9
10     Collection<ICourse> findOngoingAndFreeCoursesForPlatform(String platformName);
11
12     Collection<ICourse> findNonCancelledCoursesBetweenStartAndEnd(Date start, Date end);
13
14 }