Class TaskNotifyReminderConfigDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.genericalert.business.TaskNotifyReminderConfigDAO
-
- All Implemented Interfaces:
ITaskNotifyReminderConfigDAO,fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>
public final class TaskNotifyReminderConfigDAO extends java.lang.Object implements ITaskNotifyReminderConfigDAO
This class provides Data Access methods for TaskReminderConfig objects
-
-
Constructor Summary
Constructors Constructor Description TaskNotifyReminderConfigDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int idTask)Delete a record from the tablevoiddeleteReminderAppointment(int nIdTask, int nIdForm, int rank, boolean b, fr.paris.lutece.portal.service.plugin.Plugin plugin)voidinsert(TaskNotifyReminderConfig taskReminderConfig)Insert a new record in the table.TaskNotifyReminderConfigload(int nKey)Load the data from the tableTaskNotifyReminderConfigloadByIdForm(int nKey, int idForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)TaskNotifyReminderConfigloadConfigByIdForm(int idForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)java.util.List<ReminderAppointment>loadListReminderAppointment(int idTask, int nAppointmentFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)java.util.List<TaskNotifyReminderConfig>loadListTaskNotifyConfig(int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)java.util.Collection<java.lang.Integer>selectIdTaskReminderConfigsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the taskReminderConfig objects and returns them as a collectionjava.util.Collection<TaskNotifyReminderConfig>selectTaskReminderConfigsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the taskReminderConfig objects and returns them as a collectionvoidstore(TaskNotifyReminderConfig taskReminderConfig)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(TaskNotifyReminderConfig taskReminderConfig)
Insert a new record in the table.- Specified by:
insertin interfacefr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>- Specified by:
insertin interfaceITaskNotifyReminderConfigDAO- Parameters:
taskReminderConfig- instance of the TaskReminderConfig object to insert
-
load
public TaskNotifyReminderConfig load(int nKey)
Load the data from the table- Specified by:
loadin interfacefr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>- Specified by:
loadin interfaceITaskNotifyReminderConfigDAO- Parameters:
nKey- The identifier of the taskReminderConfig- Returns:
- The instance of the taskReminderConfig
-
loadConfigByIdForm
public TaskNotifyReminderConfig loadConfigByIdForm(int idForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
- Specified by:
loadConfigByIdFormin interfaceITaskNotifyReminderConfigDAO- Parameters:
idForm- the id formplugin- the plugin- Returns:
- TaskNotifyReminderConfig
-
store
public void store(TaskNotifyReminderConfig taskReminderConfig)
Update the record in the table- Specified by:
storein interfacefr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>- Specified by:
storein interfaceITaskNotifyReminderConfigDAO- Parameters:
taskReminderConfig- the reference of the TaskReminderConfig
-
delete
public void delete(int idTask)
Delete a record from the table- Specified by:
deletein interfacefr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>- Specified by:
deletein interfaceITaskNotifyReminderConfigDAO- Parameters:
idTask- The identifier of the TaskReminderConfig to delete
-
selectTaskReminderConfigsList
public java.util.Collection<TaskNotifyReminderConfig> selectTaskReminderConfigsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the taskReminderConfig objects and returns them as a collection- Specified by:
selectTaskReminderConfigsListin interfaceITaskNotifyReminderConfigDAO- Parameters:
plugin- the Plugin- Returns:
- The collection which contains the data of all the taskReminderConfig objects
-
deleteReminderAppointment
public void deleteReminderAppointment(int nIdTask, int nIdForm, int rank, boolean b, fr.paris.lutece.portal.service.plugin.Plugin plugin)- Specified by:
deleteReminderAppointmentin interfaceITaskNotifyReminderConfigDAO- Parameters:
nIdTask- the idformnIdForm- the id taskrank- the rank reminderb- boolean deleteplugin- the plugin
-
selectIdTaskReminderConfigsList
public java.util.Collection<java.lang.Integer> selectIdTaskReminderConfigsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the taskReminderConfig objects and returns them as a collection- Specified by:
selectIdTaskReminderConfigsListin interfaceITaskNotifyReminderConfigDAO- Parameters:
plugin- the Plugin- Returns:
- The collection which contains the id of all the taskReminderConfig objects
-
loadListReminderAppointment
public java.util.List<ReminderAppointment> loadListReminderAppointment(int idTask, int nAppointmentFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
- Specified by:
loadListReminderAppointmentin interfaceITaskNotifyReminderConfigDAO- Parameters:
idTask- the id tasknAppointmentFormId- the id formplugin- the plugin- Returns:
- list ReminderAppointment
-
loadListTaskNotifyConfig
public java.util.List<TaskNotifyReminderConfig> loadListTaskNotifyConfig(int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
- Specified by:
loadListTaskNotifyConfigin interfaceITaskNotifyReminderConfigDAO- Parameters:
idTask- the id taskplugin- the plugin- Returns:
- list TaskNotifyReminderConfig
-
loadByIdForm
public TaskNotifyReminderConfig loadByIdForm(int nKey, int idForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
- Specified by:
loadByIdFormin interfaceITaskNotifyReminderConfigDAO- Parameters:
nKey- the id taskidForm- the id formplugin- the plugin- Returns:
- TaskNotifyReminderConfig
-
-