Package com.example.seraphine.service
Interface DoctorService
- All Known Implementing Classes:
DoctorServiceImpl
public interface DoctorService
Service interface to access from data and model, also create entity for appointment
- Author:
- Vinh Truong Canh Thanh
-
Method Summary
Modifier and TypeMethodDescriptionvoid
calculateDistanceToUser
(String address) void
deleteDoctor
(long id) findDoctorWithCriteria
(String issues, String address, int distance_to_user) getDoctorById
(long id) void
saveDoctor
(Doctor doctor) showAvailableAppointments
(Long doctor_id) void
updateDoctor
(long id, Doctor doctor)
-
Method Details
-
saveDoctor
-
getAllDoctors
-
getDoctorById
-
updateDoctor
-
deleteDoctor
void deleteDoctor(long id) -
calculateDistanceToUser
-
findDoctorWithCriteria
-
showAvailableAppointments
-