public class CommentValueDAO extends Object implements ICommentValueDAO
Constructor and Description |
---|
CommentValueDAO() |
Modifier and Type | Method and 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
|
public void insert(CommentValue commentValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface ICommentValueDAO
commentValue
- the CommmentValue Objectplugin
- the pluginpublic CommentValue load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface ICommentValueDAO
nIdHistory
- the action history idnIdTask
- the task idplugin
- the pluginpublic void deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByHistory
in interface ICommentValueDAO
nIdHistory
- the History idnIdTask
- the task idplugin
- the pluginpublic void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByTask
in interface ICommentValueDAO
nIdTask
- the task idplugin
- the pluginCopyright © 2016 City of Paris. All rights reserved.