Class TaskInformationDAO

    • Constructor Detail

      • TaskInformationDAO

        public TaskInformationDAO()
    • Method Detail

      • insert

        public void insert​(TaskInformation taskInformation,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert new record
        Specified by:
        insert in interface ITaskInformationDAO
        Parameters:
        taskInformation - the TaskInformation Object
        plugin - the plugin
      • load

        public TaskInformation load​(int nIdHistory,
                                    int nIdTask,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load a record by primary key
        Specified by:
        load in interface ITaskInformationDAO
        Parameters:
        nIdHistory - the action history id
        nIdTask - the task id
        plugin - the plugin
        Returns:
        TaskInformation Object
      • update

        public void update​(int idHistory,
                           String infoValue,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Upadte the value info
        Specified by:
        update in interface ITaskInformationDAO
        Parameters:
        idHistory - the history id
        infoValue - the info value
        plugin - the plugin
      • getInfoHistoryValueByIdHistory

        public String getInfoHistoryValueByIdHistory​(int idTicket,
                                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Get the value in history
        Specified by:
        getInfoHistoryValueByIdHistory in interface ITaskInformationDAO
        Parameters:
        idTicket - the history id
        plugin - the plugin
      • deleteByHistory

        public void deleteByHistory​(int nIdHistory,
                                    int nIdTask,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove information by history
        Specified by:
        deleteByHistory in interface ITaskInformationDAO
        Parameters:
        nIdHistory - the History id
        nIdTask - the task id
        plugin - the plugin
      • deleteByTask

        public void deleteByTask​(int nIdTask,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove information by task
        Specified by:
        deleteByTask in interface ITaskInformationDAO
        Parameters:
        nIdTask - the task id
        plugin - the plugin