Class CommentValueDAO

    • Constructor Detail

      • CommentValueDAO

        public CommentValueDAO()
    • Method Detail

      • insert

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

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

        public void deleteByHistory​(int nIdHistory,
                                    int nIdTask,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove comment by history
        Specified by:
        deleteByHistory in interface ICommentValueDAO
        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 comment by task
        Specified by:
        deleteByTask in interface ICommentValueDAO
        Parameters:
        nIdTask - the task id
        plugin - the plugin