Uses of Class
cz.cuni.kubinja.hospitalsystem.packet.GeneralPacket
Packages that use GeneralPacket
Package
Description
Interactive hospital managing system using SQLite database and with command line user interface.
Packets that are used for transporting data between the hospital system layer and menu layer.
-
Uses of GeneralPacket in cz.cuni.kubinja.hospitalsystem
Methods in cz.cuni.kubinja.hospitalsystem that return GeneralPacketModifier and TypeMethodDescriptionHospital.addAppointment(AppointmentData appointmentData) Adds new appointment into the system.Hospital.delete()Deletes all data from hospital system.Hospital.deleteAppointment(int id) Deletes appointment with provided id.Hospital.deleteDoctor(int id) Deletes doctor with provided id.Hospital.deletePatient(int id) Deletes patient with provided id.Hospital.export()Exports all hospital system into CSV files (patients, doctors, appointments - one file for each)Hospital.exportAppointments()Exports appointments into file in CSV format.Hospital.exportDoctors()Exports doctors into file in CSV format.Hospital.exportPatients()Exports patients into file in CSV formatHospital.updateAppointment(Appointment appointment) Updates information about appointment with provided id and based on provided new data.Hospital.updateDoctor(Doctor doctor) Updates information about doctor with provided id and based on provided new data.Hospital.updatePatient(Patient patient) Updates information about patient with provided id and based on provided new data. -
Uses of GeneralPacket in cz.cuni.kubinja.hospitalsystem.packet
Subclasses of GeneralPacket in cz.cuni.kubinja.hospitalsystem.packetModifier and TypeClassDescriptionclassDataPacket<T>Extension of the general packet that also provides caller with the data output connected to the API request.