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 Object
implements ITaskNotifyReminderConfigDAO
This class provides Data Access methods for TaskReminderConfig objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(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.load(int nKey) Load the data from the tableloadByIdForm(int nKey, int idForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) loadConfigByIdForm(int idForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) loadListReminderAppointment(int idTask, int nAppointmentFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin) loadListTaskNotifyConfig(int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) selectIdTaskReminderConfigsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the taskReminderConfig objects and returns them as a collectionselectTaskReminderConfigsList(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
-
Constructor Details
-
TaskNotifyReminderConfigDAO
public TaskNotifyReminderConfigDAO()
-
-
Method Details
-
insert
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
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
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 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 Collection<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 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 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
-