Class TaskNotifyReminderConfigHome
java.lang.Object
fr.paris.lutece.plugins.genericalert.business.TaskNotifyReminderConfigHome
This class provides instances management methods (create, find, ...) for TaskReminderConfig objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic TaskNotifyReminderConfigcreate(TaskNotifyReminderConfig taskReminderConfig) Create an instance of the taskReminderConfig classstatic TaskNotifyReminderConfigfindByIdForm(int nKey, int idForm) static TaskNotifyReminderConfigfindByPrimaryKey(int nKey) Returns an instance of a taskReminderConfig whose identifier is specified in parameterstatic Collection<Integer>Load the id of all the taskReminderConfig objects and returns them in form of a collectionstatic Collection<TaskNotifyReminderConfig>Load the data of all the taskReminderConfig objects and returns them in form of a collectionstatic TaskNotifyReminderConfigloadConfigByIdForm(int idForm) static List<ReminderAppointment>loadListReminderAppointment(int idTask, int nAppointmentFormId) static List<TaskNotifyReminderConfig>loadListTaskNotifyConfig(int idTask) static voidremove(int nKey) Remove the taskReminderConfig whose identifier is specified in parameterstatic voidremoveAppointmentReminder(int idTask, int nAppointmentFormId, int rank, boolean bool) Remove a Appointment Reminderstatic TaskNotifyReminderConfigupdate(TaskNotifyReminderConfig taskReminderConfig) Update of the taskReminderConfig which is specified in parameter
-
Method Details
-
create
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
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
Returns an instance of a taskReminderConfig whose identifier is specified in parameter- Parameters:
nKey- The taskReminderConfig primary key- Returns:
- an instance of TaskReminderConfig
-
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
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 tasknAppointmentFormId- id form appointmentrank- the rankbool- to delete all reminders
-
loadListReminderAppointment
public static List<ReminderAppointment> loadListReminderAppointment(int idTask, int nAppointmentFormId) - Parameters:
idTask- the id tasknAppointmentFormId- id form- Returns:
- list ReminderAppointment
-
findByIdForm
- Parameters:
nKey- id taskidForm- id form- Returns:
- TaskNotifyReminderConfig the config
-
loadListTaskNotifyConfig
- Parameters:
idTask- the id task- Returns:
- list TaskNotifyReminderConfig
-
loadConfigByIdForm
- Parameters:
idForm- the id form- Returns:
- TaskNotifyReminderConfig the config
-