Class UpdateAdminAppointmentHistoryHome


  • public final class UpdateAdminAppointmentHistoryHome
    extends Object
    Home for manual appointment notification history
    • Method Detail

      • create

        public static void create​(UpdateAdminAppointmentHistory historyNotif)
        Create a new manual appointment notification history
        Parameters:
        historyNotif - The history to insert into the database
      • findByPrimaryKey

        public static UpdateAdminAppointmentHistory findByPrimaryKey​(int nIdNotif)
        Get a manual appointment notification history from its primary key
        Parameters:
        nIdNotif - The id of the history to get
        Returns:
        The history
      • findByIdHistory

        public static List<UpdateAdminAppointmentHistory> findByIdHistory​(int nIdHistory)
        Get the list of history associated with a given history id
        Parameters:
        nIdHistory - The history id
        Returns:
        the list of history, or an empty list if none was found
      • delete

        public static void delete​(int nIdNotif)
        Remove an history from its primary key
        Parameters:
        nIdNotif - The id of the history
      • deleteByIdAppointment

        public static void deleteByIdAppointment​(int nIdAppointment)
        Remove every history associated with a given appointment
        Parameters:
        nIdAppointment - The id of the appointment