Class TaskInformationDAO

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_NAME  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a new record in the table.
      void insert​(TaskInformation taskInformation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Inserts a new record in the table.
      TaskInformation load​(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Loads the data from the table
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TaskInformationDAO

        public TaskInformationDAO()
    • Method Detail

      • insert

        public void insert​(TaskInformation taskInformation,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Inserts a new record in the table.
        Specified by:
        insert in interface ITaskInformationDAO
        Parameters:
        taskInformation - the task information to insert
        plugin - the Plugin
      • load

        public TaskInformation load​(int nIdHistory,
                                    int nIdTask,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Loads the data from the table
        Specified by:
        load in interface ITaskInformationDAO
        Parameters:
        nIdHistory - The history id
        nIdTask - The task id
        plugin - the Plugin
        Returns:
        The task information
      • delete

        public void delete​(int nIdHistory,
                           int nIdTask,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: ITaskInformationDAO
        Delete a new record in the table.
        Specified by:
        delete in interface ITaskInformationDAO
        Parameters:
        nIdHistory - The history id
        nIdTask - The task id
        plugin - the Plugin