public final class TaskNotifyReminderConfigDAO extends Object implements ITaskNotifyReminderConfigDAO
Constructor and Description |
---|
TaskNotifyReminderConfigDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int idTask)
Delete a record from the table
|
void |
deleteReminderAppointment(int nIdTask,
int nIdForm,
int rank,
boolean b,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
insert(TaskNotifyReminderConfig taskReminderConfig)
Insert a new record in the table.
|
TaskNotifyReminderConfig |
load(int nKey)
Load the data from the table
|
TaskNotifyReminderConfig |
loadByIdForm(int nKey,
int idForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
TaskNotifyReminderConfig |
loadConfigByIdForm(int idForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<ReminderAppointment> |
loadListReminderAppointment(int idTask,
int nAppointmentFormId,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<TaskNotifyReminderConfig> |
loadListTaskNotifyConfig(int idTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
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
|
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
|
void |
store(TaskNotifyReminderConfig taskReminderConfig)
Update the record in the table
|
public void insert(TaskNotifyReminderConfig taskReminderConfig)
insert
in interface ITaskNotifyReminderConfigDAO
insert
in interface fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>
taskReminderConfig
- instance of the TaskReminderConfig object to insertpublic TaskNotifyReminderConfig load(int nKey)
load
in interface ITaskNotifyReminderConfigDAO
load
in interface fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>
nKey
- The identifier of the taskReminderConfigpublic TaskNotifyReminderConfig loadConfigByIdForm(int idForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadConfigByIdForm
in interface ITaskNotifyReminderConfigDAO
idForm
- the id formplugin
- the pluginpublic void store(TaskNotifyReminderConfig taskReminderConfig)
store
in interface ITaskNotifyReminderConfigDAO
store
in interface fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>
taskReminderConfig
- the reference of the TaskReminderConfigpublic void delete(int idTask)
delete
in interface ITaskNotifyReminderConfigDAO
delete
in interface fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>
idTask
- The identifier of the TaskReminderConfig to deletepublic Collection<TaskNotifyReminderConfig> selectTaskReminderConfigsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTaskReminderConfigsList
in interface ITaskNotifyReminderConfigDAO
plugin
- the Pluginpublic void deleteReminderAppointment(int nIdTask, int nIdForm, int rank, boolean b, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteReminderAppointment
in interface ITaskNotifyReminderConfigDAO
nIdTask
- the idformnIdForm
- the id taskrank
- the rank reminderb
- boolean deleteplugin
- the pluginpublic Collection<Integer> selectIdTaskReminderConfigsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdTaskReminderConfigsList
in interface ITaskNotifyReminderConfigDAO
plugin
- the Pluginpublic List<ReminderAppointment> loadListReminderAppointment(int idTask, int nAppointmentFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadListReminderAppointment
in interface ITaskNotifyReminderConfigDAO
idTask
- the id tasknAppointmentFormId
- the id formplugin
- the pluginpublic List<TaskNotifyReminderConfig> loadListTaskNotifyConfig(int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadListTaskNotifyConfig
in interface ITaskNotifyReminderConfigDAO
idTask
- the id taskplugin
- the pluginpublic TaskNotifyReminderConfig loadByIdForm(int nKey, int idForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByIdForm
in interface ITaskNotifyReminderConfigDAO
nKey
- the id taskidForm
- the id formplugin
- the pluginCopyright © 2018 City of Paris. All rights reserved.