Class ReveService
java.lang.Object
com.serinity.sleepcontrol.service.ReveService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalyserAvecNlp(Reve reve) analyserReve(Reve reve) doublevoiddetecterThemesRecurrents(int seuil) booleanexisteParTitre(String titre) filtrerEnCouleur(boolean couleur) filtrerParHumeur(String humeur) filtrerParIntensite(int min, int max) filtrerParNiveauAnxiete(int niveauMin) filtrerParType(String type) genererRapportDetaille(Reve reve) doublevoidrechercherAvancee(String type, String humeur, Integer intensiteMin, Integer intensiteMax, Boolean recurrent) rechercherDynamique(String critere) voidsupprimer(int id) inttrierParAnxiete(boolean croissant) trierParIntensite(boolean croissant) trierParTitre(boolean croissant) trierParType(boolean croissant) trouverParId(int id) trouverParSommeilId(int sommeilId) trouverRevesSimilaires(Reve reference)
-
Constructor Details
-
ReveService
public ReveService() -
ReveService
-
-
Method Details
-
creer
- Throws:
SQLException
-
listerTous
- Throws:
SQLException
-
trouverParId
- Throws:
SQLException
-
trouverParSommeilId
- Throws:
SQLException
-
modifier
- Throws:
SQLException
-
supprimer
- Throws:
SQLException
-
existeParTitre
- Throws:
SQLException
-
rechercherDynamique
- Throws:
SQLException
-
rechercherAvancee
public List<Reve> rechercherAvancee(String type, String humeur, Integer intensiteMin, Integer intensiteMax, Boolean recurrent) throws SQLException - Throws:
SQLException
-
trierParIntensite
- Throws:
SQLException
-
trierParTitre
- Throws:
SQLException
-
trierParType
- Throws:
SQLException
-
trierParAnxiete
- Throws:
SQLException
-
filtrerParType
- Throws:
SQLException
-
filtrerParIntensite
- Throws:
SQLException
-
filtrerRecurrents
- Throws:
SQLException
-
filtrerCauchemars
- Throws:
SQLException
-
filtrerLucides
- Throws:
SQLException
-
filtrerParHumeur
- Throws:
SQLException
-
filtrerEnCouleur
- Throws:
SQLException
-
filtrerParNiveauAnxiete
- Throws:
SQLException
-
obtenirStatistiquesParType
- Throws:
SQLException
-
compterParType
- Throws:
SQLException
-
compterParHumeur
- Throws:
SQLException
-
totalReves
- Throws:
SQLException
-
intensiteMoyenne
- Throws:
SQLException
-
anxieteMoyenne
- Throws:
SQLException
-
analyserReve
-
genererRecommandations
- Throws:
SQLException
-
classerParNiveauRisque
- Throws:
SQLException
-
detecterAnomalies
- Throws:
SQLException
-
emotionsFrequentes
- Throws:
SQLException
-
symbolesFrequents
- Throws:
SQLException
-
detecterThemesRecurrents
- Throws:
SQLException
-
trouverPlusIntense
- Throws:
SQLException
-
trouverPlusAnxiogene
- Throws:
SQLException
-
trouverRevesSimilaires
- Throws:
SQLException
-
intensiteMoyenneParType
- Throws:
SQLException
-
obtenirInsights
- Throws:
SQLException
-
genererRapportDetaille
-
analyserAvecNlp
-