fr.paris.lutece.plugins.workflow.modules.evaluation.business
Class EvaluationHome

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.evaluation.business.EvaluationHome

public final class EvaluationHome
extends java.lang.Object

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


Method Summary
static void create(Evaluation evaluation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Create an instance of evaluation
static Evaluation findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load an evaluation by history
static void remove(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          delete an evaluation
 
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(Evaluation evaluation,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of evaluation

Parameters:
evaluation - an instance of evaluation
plugin - the plugin

remove

public static void remove(int nIdHistory,
                          int nIdTask,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete an evaluation

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

findByPrimaryKey

public static Evaluation findByPrimaryKey(int nIdHistory,
                                          int nIdTask,
                                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load an evaluation by history

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


Copyright © 2010 Mairie de Paris. All Rights Reserved.