Uses of Class
cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Packages that use DatabaseException
Package
Description
Interactive hospital managing system using SQLite database and with command line user interface.
Package contains classes providing interface for easy communication between
hospital system and SQLite database.
-
Uses of DatabaseException in cz.cuni.kubinja.hospitalsystem
Constructors in cz.cuni.kubinja.hospitalsystem that throw DatabaseException -
Uses of DatabaseException in cz.cuni.kubinja.hospitalsystem.database
Methods in cz.cuni.kubinja.hospitalsystem.database that throw DatabaseExceptionModifier and TypeMethodDescriptionDatabase.addDoctor(DoctorData doctorData) Adds doctor into the database.Database.addPatient(PatientData patientData) Adds patients into the database.voidDatabase.checkAndAddAppointment(AppointmentData appointmentData) Checks the provided appointment data and adds the new appointments into the database.voidDatabase.deleteAllData()Deletes all data from database.voidDatabase.deleteAppointment(int id) Deletes appointment from the database based on provided id.voidDatabase.deleteDoctor(int id) Deletes doctor from the database.voidDatabase.deletePatient(int id) Deletes patient from the database.Database.getAllDoctors()Returns list of all doctors in the database.Database.getAllPatients()Returns all patients in the database.Database.getAppointment(int id) Returns the appointment based on provided id.Database.getAppointmentsForDoctor(int id) Returns list of appointments for doctor with provided id.Database.getAppointmentsForDoctor(Connection connection, int id) Returns list of appointments for doctor with provided id.Database.getAppointmentsForPatient(int id) Returns list of appointments for patient with provided id.Database.getAppointmentsForPatient(Connection connection, int id) Returns list of appointments for patient with provided id.Database.getCalendar()Returns calendar object representing all appointments in the database.Database.getDoctor(int id) Returns Doctor with corresponding id.Database.getDoctor(Connection connection, int id) Returns Doctor with corresponding id.Database.getPatient(int id) Returns patient based on provided id.Database.getPatient(Connection connection, int id) Returns patient based on provided id.Returns list of people with provided first name and last name.voidDatabase.updateAppointment(Appointment appointment) Updates information about existing appointment.voidDatabase.updateDoctor(Doctor doctor) Updates doctor information inside the database.voidDatabase.updatePatient(Patient patient) Updates patient data inside the database.Constructors in cz.cuni.kubinja.hospitalsystem.database that throw DatabaseException