Interface AppointmentService

All Known Implementing Classes:
AppointmentServiceImpl

public interface AppointmentService
Service interface to access from data and model, also create entity for appointment
Author:
Vinh Truong Canh Thanh, Tri Nguyen Minh, Linh Ngo Phuc
  • Method Details

    • saveAppointment

      void saveAppointment(Appointment appointment)
    • getAllAppointments

      List<Appointment> getAllAppointments()
    • getAppointmentById

      Optional<Appointment> getAppointmentById(Long user_id, Long appointment_id)
    • updateAppointment

      void updateAppointment(Long user_id, Long appointment_id, Appointment appointment)
    • deleteAppointment

      void deleteAppointment(Long user_id, Long appointment_id)
    • bookAppointment

      void bookAppointment(Long user_id, Long appointment_id)
    • addAppointmentToDoctor

      void addAppointmentToDoctor(Long doctor_id, Long appointment_id)
    • exportAppointmentInfo

      void exportAppointmentInfo(Long user_id, Long appointment_id)
    • showUserAppointments

      List<Appointment> showUserAppointments(Long user_id)
    • showDoctorsAppointments

      List<Appointment> showDoctorsAppointments(Long doctor_id)
    • remindAppointment

      void remindAppointment(Long user_id, Long appointment_id, String option)