]> git.somenet.org - pub/jan/dst18.git/blob - ass1-jpa/src/main/java/dst/ass1/jpa/dao/IParticipantDAO.java
[2.3.3] Interruption timers. We have them.
[pub/jan/dst18.git] / ass1-jpa / src / main / java / dst / ass1 / jpa / dao / IParticipantDAO.java
1 package dst.ass1.jpa.dao;
2
3 import dst.ass1.jpa.model.IParticipant;
4
5 public interface IParticipantDAO extends GenericDAO<IParticipant> {
6
7     /**
8      * Returns the participant associated with the given email. Returns null if the email does not exist.
9      *
10      * @param email the email address
11      * @return the participant or null
12      */
13     IParticipant findByEmail(String email);
14 }