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 Details

    • TaskNotifyReminderConfigDAO

      public TaskNotifyReminderConfigDAO()
  • Method Details

    • insert

      public void insert(TaskNotifyReminderConfig taskReminderConfig)
      Insert a new record in the table.
      Specified by:
      insert in interface fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>
      Specified by:
      insert in interface ITaskNotifyReminderConfigDAO
      Parameters:
      taskReminderConfig - instance of the TaskReminderConfig object to insert
    • load

      public TaskNotifyReminderConfig load(int nKey)
      Load the data from the table
      Specified by:
      load in interface fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>
      Specified by:
      load in interface ITaskNotifyReminderConfigDAO
      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:
      loadConfigByIdForm in interface ITaskNotifyReminderConfigDAO
      Parameters:
      idForm - the id form
      plugin - the plugin
      Returns:
      TaskNotifyReminderConfig
    • store

      public void store(TaskNotifyReminderConfig taskReminderConfig)
      Update the record in the table
      Specified by:
      store in interface fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>
      Specified by:
      store in interface ITaskNotifyReminderConfigDAO
      Parameters:
      taskReminderConfig - the reference of the TaskReminderConfig
    • delete

      public void delete(int idTask)
      Delete a record from the table
      Specified by:
      delete in interface fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>
      Specified by:
      delete in interface ITaskNotifyReminderConfigDAO
      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:
      selectTaskReminderConfigsList in interface ITaskNotifyReminderConfigDAO
      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:
      deleteReminderAppointment in interface ITaskNotifyReminderConfigDAO
      Parameters:
      nIdTask - the idform
      nIdForm - the id task
      rank - the rank reminder
      b - boolean delete
      plugin - 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:
      selectIdTaskReminderConfigsList in interface ITaskNotifyReminderConfigDAO
      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:
      loadListReminderAppointment in interface ITaskNotifyReminderConfigDAO
      Parameters:
      idTask - the id task
      nAppointmentFormId - the id form
      plugin - the plugin
      Returns:
      list ReminderAppointment
    • loadListTaskNotifyConfig

      public List<TaskNotifyReminderConfig> loadListTaskNotifyConfig(int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Specified by:
      loadListTaskNotifyConfig in interface ITaskNotifyReminderConfigDAO
      Parameters:
      idTask - the id task
      plugin - the plugin
      Returns:
      list TaskNotifyReminderConfig
    • loadByIdForm

      public TaskNotifyReminderConfig loadByIdForm(int nKey, int idForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Specified by:
      loadByIdForm in interface ITaskNotifyReminderConfigDAO
      Parameters:
      nKey - the id task
      idForm - the id form
      plugin - the plugin
      Returns:
      TaskNotifyReminderConfig