Class TaskNotifyReminderConfigHome

java.lang.Object
fr.paris.lutece.plugins.genericalert.business.TaskNotifyReminderConfigHome

public final class TaskNotifyReminderConfigHome extends Object
This class provides instances management methods (create, find, ...) for TaskReminderConfig objects
  • Method Details

    • create

      public static TaskNotifyReminderConfig create(TaskNotifyReminderConfig taskReminderConfig)
      Create an instance of the taskReminderConfig class
      Parameters:
      taskReminderConfig - The instance of the TaskReminderConfig which contains the informations to store
      Returns:
      The instance of taskReminderConfig which has been created with its primary key.
    • update

      public static TaskNotifyReminderConfig update(TaskNotifyReminderConfig taskReminderConfig)
      Update of the taskReminderConfig which is specified in parameter
      Parameters:
      taskReminderConfig - The instance of the TaskReminderConfig which contains the data to store
      Returns:
      The instance of the taskReminderConfig which has been updated
    • remove

      public static void remove(int nKey)
      Remove the taskReminderConfig whose identifier is specified in parameter
      Parameters:
      nKey - The taskReminderConfig Id
    • findByPrimaryKey

      public static TaskNotifyReminderConfig findByPrimaryKey(int nKey)
      Returns an instance of a taskReminderConfig whose identifier is specified in parameter
      Parameters:
      nKey - The taskReminderConfig primary key
      Returns:
      an instance of TaskReminderConfig
    • getTaskReminderConfigsList

      public static Collection<TaskNotifyReminderConfig> getTaskReminderConfigsList()
      Load the data of all the taskReminderConfig objects and returns them in form of a collection
      Returns:
      the collection which contains the data of all the taskReminderConfig objects
    • getIdTaskReminderConfigsList

      public static Collection<Integer> getIdTaskReminderConfigsList()
      Load the id of all the taskReminderConfig objects and returns them in form of a collection
      Returns:
      the collection which contains the id of all the taskReminderConfig objects
    • removeAppointmentReminder

      public static void removeAppointmentReminder(int idTask, int nAppointmentFormId, int rank, boolean bool)
      Remove a Appointment Reminder
      Parameters:
      idTask - the id task
      nAppointmentFormId - id form appointment
      rank - the rank
      bool - to delete all reminders
    • loadListReminderAppointment

      public static List<ReminderAppointment> loadListReminderAppointment(int idTask, int nAppointmentFormId)
      Parameters:
      idTask - the id task
      nAppointmentFormId - id form
      Returns:
      list ReminderAppointment
    • findByIdForm

      public static TaskNotifyReminderConfig findByIdForm(int nKey, int idForm)
      Parameters:
      nKey - id task
      idForm - id form
      Returns:
      TaskNotifyReminderConfig the config
    • loadListTaskNotifyConfig

      public static List<TaskNotifyReminderConfig> loadListTaskNotifyConfig(int idTask)
      Parameters:
      idTask - the id task
      Returns:
      list TaskNotifyReminderConfig
    • loadConfigByIdForm

      public static TaskNotifyReminderConfig loadConfigByIdForm(int idForm)
      Parameters:
      idForm - the id form
      Returns:
      TaskNotifyReminderConfig the config