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

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

public final class TaskCommentConfigHome
extends java.lang.Object

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


Method Summary
static void create(TaskCommentConfig config, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of config
static TaskCommentConfig findByPrimaryKey(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the Config Object
static void remove(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          remove config associated to the task which is specified in parameter
static void update(TaskCommentConfig config, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update of task which is specified in parameter
 
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(TaskCommentConfig config,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of config

Parameters:
config - The instance of task which contains the informations to store
plugin - the plugin

update

public static void update(TaskCommentConfig config,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of task which is specified in parameter

Parameters:
config - The instance of config which contains the informations to update
plugin - the Plugin

remove

public static void remove(int nIdTask,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove config associated to the task which is specified in parameter

Parameters:
nIdTask - The task key
plugin - the Plugin

findByPrimaryKey

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

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


Copyright © 2011 Mairie de Paris. All Rights Reserved.