Class CommentValueDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.comment.business.CommentValueDAO
-
- All Implemented Interfaces:
ICommentValueDAO
public class CommentValueDAO extends java.lang.Object implements ICommentValueDAO
CommentValueDAO
-
-
Constructor Summary
Constructors Constructor Description CommentValueDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove comment by historyvoiddeleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove comment by taskvoidinsert(CommentValue commentValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert new recordCommentValueload(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load a record by primary key
-
-
-
Method Detail
-
insert
public void insert(CommentValue commentValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert new record- Specified by:
insertin interfaceICommentValueDAO- Parameters:
commentValue- the CommmentValue Objectplugin- 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:
loadin interfaceICommentValueDAO- Parameters:
nIdHistory- the action history idnIdTask- the task idplugin- 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:
deleteByHistoryin interfaceICommentValueDAO- Parameters:
nIdHistory- the History idnIdTask- the task idplugin- the plugin
-
deleteByTask
public void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove comment by task- Specified by:
deleteByTaskin interfaceICommentValueDAO- Parameters:
nIdTask- the task idplugin- the plugin
-
-