forked from tom.biard/ScienceQuest
parent
3601fe5523
commit
ba7c865f57
@ -1,9 +0,0 @@
|
||||
package fr.iut.sciencequest.sae.services.interfaces;
|
||||
|
||||
import fr.iut.sciencequest.sae.entities.Difficulte;
|
||||
import org.springframework.data.domain.Page;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
|
||||
public interface IDifficulteService {
|
||||
Page<Difficulte> findAll(Pageable p);
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
package fr.iut.sciencequest.sae.services.interfaces;
|
||||
|
||||
import fr.iut.sciencequest.sae.entities.Indice;
|
||||
|
||||
public interface IIndiceService {
|
||||
Iterable<Indice> findByScientifiqueId(int id);
|
||||
Indice update(Indice indice);
|
||||
Indice create(Indice indice);
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
package fr.iut.sciencequest.sae.services.interfaces;
|
||||
|
||||
import fr.iut.sciencequest.sae.entities.Partie;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface IPartieService {
|
||||
Partie findById(int id);
|
||||
Partie create(Integer idJeu, Integer idUtilisateur, List<Integer> thematiques, Integer idDifficulte);
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
package fr.iut.sciencequest.sae.services.interfaces;
|
||||
|
||||
import fr.iut.sciencequest.sae.entities.Question;
|
||||
import org.springframework.data.domain.Page;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
|
||||
public interface IQuestionService {
|
||||
Page<Question> findAll(Pageable page);
|
||||
Page<Question> findWithCriteria(Pageable page, Integer scientifiqueId);
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
package fr.iut.sciencequest.sae.services.interfaces;
|
||||
|
||||
import fr.iut.sciencequest.sae.entities.Indice;
|
||||
import fr.iut.sciencequest.sae.entities.Scientifique;
|
||||
import org.springframework.data.domain.Page;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
|
||||
public interface IScientifiqueService {
|
||||
Scientifique update(Scientifique scientifique);
|
||||
|
||||
Scientifique create(Scientifique scientifique);
|
||||
|
||||
Page<Scientifique> findAll(Pageable page);
|
||||
Page<Scientifique> findAllWithCriteria(Pageable page, Integer tId, Integer dId);
|
||||
|
||||
Scientifique findById(int id);
|
||||
|
||||
Iterable<Indice> getLinkedIndicesByScientifiqueId(int id);
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
package fr.iut.sciencequest.sae.services.interfaces;
|
||||
|
||||
|
||||
import fr.iut.sciencequest.sae.entities.Thematique;
|
||||
import org.springframework.data.domain.Page;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
|
||||
public interface IThematiqueService {
|
||||
Thematique update(Thematique thematique);
|
||||
|
||||
Thematique create(Thematique thematique);
|
||||
|
||||
Page<Thematique> findAll(Pageable p);
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
package fr.iut.sciencequest.sae.services.interfaces;
|
||||
|
||||
import fr.iut.sciencequest.sae.dto.utilisateur.UtilisateurDTO;
|
||||
import fr.iut.sciencequest.sae.dto.utilisateur.UtilisateurWithPasswordDTO;
|
||||
import fr.iut.sciencequest.sae.entities.Utilisateur;
|
||||
|
||||
public interface IUtilisateurService {
|
||||
UtilisateurDTO save(UtilisateurWithPasswordDTO user);
|
||||
UtilisateurDTO login(UtilisateurWithPasswordDTO user);
|
||||
|
||||
Utilisateur findUserByEmail(String email);
|
||||
}
|
Loading…
Reference in new issue