Class CommentValueDAO
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.comment.business.CommentValueDAO
- All Implemented Interfaces:
ICommentValueDAO
@ApplicationScoped
@Named("workflow.commentValueDAO")
public class CommentValueDAO
extends Object
implements ICommentValueDAO
CommentValueDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByHistory(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 recordload(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load a record by primary key
-
Constructor Details
-
CommentValueDAO
public CommentValueDAO()
-
-
Method Details
-
insert
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
-