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

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.taskcomment.business.CommentValueHome

public final class CommentValueHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for TaskCommentConfigHome objects


Method Summary
static void create(CommentValue commentValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of comment value
static CommentValue findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the CommentValue Object
static void removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          remove comment value by history
static void removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          remove comment value by task
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static void create(CommentValue commentValue,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of comment value

Parameters:
commentValue - The instance of comment valuewhich contains the informations to store
plugin - the plugin

removeByHistory

public static void removeByHistory(int nIdHistory,
                                   int nIdTask,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove comment value by history

Parameters:
nIdHistory - the history key
nIdTask - The task key
plugin - the Plugin

removeByTask

public static void removeByTask(int nIdTask,
                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove comment value by task

Parameters:
nIdTask - The task key
plugin - the Plugin

findByPrimaryKey

public static CommentValue findByPrimaryKey(int nIdHistory,
                                            int nIdTask,
                                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the CommentValue Object

Parameters:
nIdHistory - the history id
nIdTask - the task id
plugin - the plugin
Returns:
the Config Object


Copyright © 2011 Mairie de Paris. All Rights Reserved.