Interface ICommentValueDAO

  • All Known Implementing Classes:
    CommentValueDAO

    public interface ICommentValueDAO
    ICommentValueDAO
    • 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 comment by history
      void deleteByTask​(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove comment by task
      void insert​(CommentValue commentValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert new record
      CommentValue load​(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load a record by primary key
    • Method Detail

      • insert

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

        CommentValue 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:
        CommentValue Object
      • deleteByHistory

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

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