Interface ITaskInformationDAO

  • All Known Implementing Classes:
    TaskInformationDAO

    public interface ITaskInformationDAO
    ITaskInformationDAO
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String BEAN_SERVICE
      The Constant BEAN_SERVICE.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteByHistory​(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove information by history and id task
      void deleteByHistoryList​(List<Integer> idHistoryList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove information by id history list
      void deleteByTask​(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove information by task
      String getInfoHistoryValueByIdHistory​(int idHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get the value in history
      void insert​(TaskInformation taskInformation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert new record
      TaskInformation load​(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load a record by primary key
      void update​(int idHistory, String infoValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Upadte the value info
    • Method Detail

      • insert

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

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

        void update​(int idHistory,
                    String infoValue,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Upadte the value info
        Parameters:
        idHistory - the history id
        infoValue - the info value
        plugin - the plugin
      • deleteByHistory

        void deleteByHistory​(int nIdHistory,
                             int nIdTask,
                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove information by history and id task
        Parameters:
        nIdHistory - the History id
        nIdTask - the task id
        plugin - the plugin
      • deleteByHistoryList

        void deleteByHistoryList​(List<Integer> idHistoryList,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove information by id history list
        Parameters:
        idHistoryList - the History id list
        plugin - the plugin
      • deleteByTask

        void deleteByTask​(int nIdTask,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove information by task
        Parameters:
        nIdTask - the task id
        plugin - the plugin
      • getInfoHistoryValueByIdHistory

        String getInfoHistoryValueByIdHistory​(int idHistory,
                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Get the value in history
        Parameters:
        idHistory - the history id
        plugin - the plugin