java.lang.Object
fr.paris.lutece.plugins.workflow.modules.comment.business.CommentValueDAO
All Implemented Interfaces:
ICommentValueDAO

public class CommentValueDAO extends Object implements ICommentValueDAO
CommentValueDAO
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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
    load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load a record by primary key

    Methods inherited from class java.lang.Object

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

    • CommentValueDAO

      public CommentValueDAO()
  • Method Details

    • 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