Class SetAppointmentResourceHistoryHome

java.lang.Object
fr.paris.lutece.plugins.appointment.modules.resource.business.workflow.SetAppointmentResourceHistoryHome

public final class SetAppointmentResourceHistoryHome extends Object
Home for set appointment resource history
  • Method Details

    • create

      public static void create(SetAppointmentResourceHistory historyNotif)
      Create a new history
      Parameters:
      historyNotif - The history to insert into the database
    • findByPrimaryKey

      public static SetAppointmentResourceHistory findByPrimaryKey(int nId)
      Get an history from its primary key
      Parameters:
      nId - The primary key
      Returns:
      The history
    • findByIdHistory

      public static List<SetAppointmentResourceHistory> 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 nId)
      Remove an history from its primary key
      Parameters:
      nId - The primary key
    • deleteByIdAppointment

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