Interface ITaskNotifyReminderConfigDAO

    • Method Detail

      • insert

        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>
        Parameters:
        taskReminderConfig - instance of the TaskReminderConfig object to insert
      • store

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

        void delete​(int nKey)
        Delete a record from the table
        Specified by:
        delete in interface fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>
        Parameters:
        nKey - The identifier of the TaskReminderConfig to delete
      • load

        TaskNotifyReminderConfig load​(int nKey)
        Load the data from the table
        Specified by:
        load in interface fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfigDAO<TaskNotifyReminderConfig>
        Parameters:
        nKey - The identifier of the taskReminderConfig
        Returns:
        The instance of the taskReminderConfig
      • selectTaskReminderConfigsList

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The collection which contains the data of all the taskReminderConfig objects
      • selectIdTaskReminderConfigsList

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The collection which contains the id of all the taskReminderConfig objects
      • deleteReminderAppointment

        void deleteReminderAppointment​(int nIdForm,
                                       int nIdTask,
                                       int nRank,
                                       boolean b,
                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Parameters:
        nIdForm - the idform
        nIdTask - the id task
        nRank - the rank reminder
        b - boolean delete
        plugin - the plugin
      • loadListReminderAppointment

        java.util.List<ReminderAppointment> loadListReminderAppointment​(int nIdTask,
                                                                        int nAppointmentFormId,
                                                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Parameters:
        nIdTask - the id task
        nAppointmentFormId - the id form
        plugin - the plugin
        Returns:
        list ReminderAppointment
      • loadByIdForm

        TaskNotifyReminderConfig loadByIdForm​(int nKey,
                                              int idForm,
                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Parameters:
        nKey - the id task
        idForm - the id form
        plugin - the plugin
        Returns:
        TaskNotifyReminderConfig
      • loadListTaskNotifyConfig

        java.util.List<TaskNotifyReminderConfig> loadListTaskNotifyConfig​(int idTask,
                                                                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Parameters:
        idTask - the id task
        plugin - the plugin
        Returns:
        list TaskNotifyReminderConfig
      • loadConfigByIdForm

        TaskNotifyReminderConfig loadConfigByIdForm​(int idForm,
                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Parameters:
        idForm - the id form
        plugin - the plugin
        Returns:
        TaskNotifyReminderConfig