Uses of Class
ece.ing3.java.projet.exceptions.DatabaseException
Packages that use DatabaseException
Package
Description
-
Uses of DatabaseException in ece.ing3.java.projet.database
Methods in ece.ing3.java.projet.database that throw DatabaseExceptionModifier and TypeMethodDescriptionstatic void
Database.close()
Closes the database.static void
Database.connect()
Connects to the database.static ResultSet
Execute a SQL query on the database.static void
Database.fillWithExamples()
Fill the database with example data.static void
Database.init()
Initialize the database with required schema.static PreparedStatement
Database.preparedStatement
(String query) Create a new prepared statement on the opened database, using the provided SQL query.static Statement
Database.statement()
Create a new statement on the opened database.static boolean
Database.validate()
Validates the database's schema schema. -
Uses of DatabaseException in ece.ing3.java.projet.database.sql
Methods in ece.ing3.java.projet.database.sql that throw DatabaseException -
Uses of DatabaseException in ece.ing3.java.projet.database.sql.queries
Methods in ece.ing3.java.projet.database.sql.queries that throw DatabaseExceptionModifier and TypeMethodDescriptionint
SQLDelete.delete()
Deletes the requested lines of a model's table from the database.SQLSelect.findList()
Execute the built query and retrieve a list of model instances.SQLSelect.findRaw()
Execute the built query and return a raw ResultSetSQLSelect.findUnique()
Execute the built query and retrieve a unique, directly usable model instance.boolean
SQLSelect.hasAtLeastOne()
Execute the built query and return if there is at least one result.int
SQLInsert.insert()
Inserts the built row in the database.int
SQLUpdate.update()
Updates the database according to the provided values and conditions. -
Uses of DatabaseException in ece.ing3.java.projet.modele.administration
Methods in ece.ing3.java.projet.modele.administration that throw DatabaseExceptionModifier and TypeMethodDescriptionstatic Service
Recherche un service de code spécifiqueService.findList()
Récupère l'ensemble des servicesService.getChambresRattachees()
Récupère les chambres rattachées au serviceService.getDirecteur()
Récupère le directeur du serviceService.getInfirmiersRattaches()
Récupère les infirmiers rattachés au service -
Uses of DatabaseException in ece.ing3.java.projet.modele.employe
Methods in ece.ing3.java.projet.modele.employe that throw DatabaseExceptionModifier and TypeMethodDescriptionstatic Docteur
Recherche un docteur de numéro spécifiquestatic Employe
Recherche un employé de numéro spécifiquestatic Infirmier
Recherche un infirmier de numéro spécifiqueEmploye.findBaseList()
Récupère l'ensemble des employésDocteur.findList()
Récupère l'ensemble des docteursInfirmier.findList()
Récupère l'ensemble des infirmiersInfirmier.getChambresSurveillees()
Récupère les chambres surveillées par l'infirmierInfirmier.getService()
Récupère le service auquel est rattaché l'infirmierDocteur.getServicesDiriges()
Récupère les services dirigés par le docteur -
Uses of DatabaseException in ece.ing3.java.projet.modele.finders
Methods in ece.ing3.java.projet.modele.finders that throw DatabaseExceptionModifier and TypeMethodDescriptionChambreFinder.findList()
Récupère l'ensemble des Chambres répondant aux conditionsDocteurFinder.findList()
Récupère l'ensemble des Docteurs répondant aux conditionsEmployeFinder.findList()
Récupère l'ensemble des Employes répondant aux conditionsHospitalisationFinder.findList()
Récupère l'ensemble des Hospitalisations répondant aux conditionsInfirmierFinder.findList()
Récupère l'ensemble des Infirmiers répondant aux conditionsMaladeFinder.findList()
Récupère l'ensemble des Malades répondant aux conditionsServiceFinder.findList()
Récupère l'ensemble des Services répondant aux conditionsSoigneFinder.findList()
Récupère l'ensemble des assignations à un docteur répondant aux conditions.ChambreFinder.findUnique()
Récupère une unique Chambre répondant aux conditionsDocteurFinder.findUnique()
Récupère un unique Docteur répondant aux conditionsEmployeFinder.findUnique()
Récupère un unique Employe répondant aux conditionsHospitalisationFinder.findUnique()
Récupère un unique Hospitalisation répondant aux conditionsInfirmierFinder.findUnique()
Récupère un unique Infirmier répondant aux conditionsMaladeFinder.findUnique()
Récupère un unique Malade répondant aux conditionsServiceFinder.findUnique()
Récupère un unique Service répondant aux conditionsSoigneFinder.findUnique()
Récupère une unique assignation à un docteur répondant aux conditions.boolean
SoigneFinder.hasAtLeastOne()
Indique si au moins une assignation à un docteur répondant aux conditions existe. -
Uses of DatabaseException in ece.ing3.java.projet.modele.hopital
Methods in ece.ing3.java.projet.modele.hopital that throw DatabaseExceptionModifier and TypeMethodDescriptionstatic Chambre
Recherche une chambre de numéro et code service spécifiquestatic Hospitalisation
Recherche une hospitalisation pour un numéro de malade donnéstatic Malade
Recherche un malade pour un numéro donnéstatic boolean
Recherche si une association malade-docteur existe déjà.Chambre.findList()
Récupère l'ensemble des chambresstatic List<Hospitalisation>
Hospitalisation.findList()
Récupère l'ensemble des hospitalisationsMalade.findList()
Récupère l'ensemble des maladesSoigne.findList()
Récupère l'ensemble des associationsHospitalisation.getChambre()
Récupère la chambre liée à l'hospitalisationSoigne.getDocteur()
Récupère le docteur liéMalade.getHospitalisation()
Récupère l'hospitalisation en cours du maladeChambre.getHospitalisations()
Récupère les hospitalisations liées à cette chambreHospitalisation.getMalade()
Récupère le malade lié à l'hospitalisationSoigne.getMalade()
Récupère le malade liéHospitalisation.getService()
Récupère le service lié à l'hospitalisationChambre.getServiceRattache()
Récupère le service auquel est rattaché la chambreChambre.getSurveillant()
Récupère l'infirmier surveillant la chambre