fr.paris.lutece.plugins.workflow.modules.taskcomment.business
Class CommentValueDAO

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

public class CommentValueDAO
extends java.lang.Object
implements ICommentValueDAO

class CommentValueDAO


Constructor Summary
CommentValueDAO()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentValueDAO

public CommentValueDAO()
Method Detail

insert

public void insert(CommentValue commentValue,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: ICommentValueDAO
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)
Description copied from interface: ICommentValueDAO
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)
Description copied from interface: ICommentValueDAO
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)
Description copied from interface: ICommentValueDAO
Remove comment by task

Specified by:
deleteByTask in interface ICommentValueDAO
Parameters:
nIdTask - the task id
plugin - the plugin


Copyright © 2012 Mairie de Paris. All Rights Reserved.