Class ManualAppointmentNotificationHistoryHome


  • public final class ManualAppointmentNotificationHistoryHome
    extends java.lang.Object
    Home for manual appointment notification history
    • Method Detail

      • create

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

        public static ManualAppointmentNotificationHistory 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 java.util.List<ManualAppointmentNotificationHistory> 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