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 voidDatabase.close()Closes the database.static voidDatabase.connect()Connects to the database.static ResultSetExecute a SQL query on the database.static voidDatabase.fillWithExamples()Fill the database with example data.static voidDatabase.init()Initialize the database with required schema.static PreparedStatementDatabase.preparedStatement(String query) Create a new prepared statement on the opened database, using the provided SQL query.static StatementDatabase.statement()Create a new statement on the opened database.static booleanDatabase.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 TypeMethodDescriptionintSQLDelete.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.booleanSQLSelect.hasAtLeastOne()Execute the built query and return if there is at least one result.intSQLInsert.insert()Inserts the built row in the database.intSQLUpdate.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 ServiceRecherche 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 DocteurRecherche un docteur de numéro spécifiquestatic EmployeRecherche un employé de numéro spécifiquestatic InfirmierRecherche 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.booleanSoigneFinder.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 ChambreRecherche une chambre de numéro et code service spécifiquestatic HospitalisationRecherche une hospitalisation pour un numéro de malade donnéstatic MaladeRecherche un malade pour un numéro donnéstatic booleanRecherche 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