fr.paris.lutece.plugins.workflow.modules.evaluation.service.evaluation
Class EvaluationService

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.evaluation.service.evaluation.EvaluationService
All Implemented Interfaces:
IEvaluationService

public class EvaluationService
extends Object
implements IEvaluationService

EvaluationService


Constructor Summary
EvaluationService()
           
 
Method Summary
 void create(Evaluation evaluation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Create an instance of evaluation
 Evaluation findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load an evaluation by history
 void remove(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete an evaluation (with criterias)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluationService

public EvaluationService()
Method Detail

create

@Transactional(value="workflow-evaluation.transactionManager")
public void create(Evaluation evaluation,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of evaluation

Specified by:
create in interface IEvaluationService
Parameters:
evaluation - an instance of evaluation
plugin - the plugin

remove

@Transactional(value="workflow-evaluation.transactionManager")
public void remove(int nIdHistory,
                                 int nIdTask,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an evaluation (with criterias)

Specified by:
remove in interface IEvaluationService
Parameters:
nIdHistory - the history key
nIdTask - The task key
plugin - the Plugin

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface IEvaluationService
Parameters:
nIdHistory - the history id
nIdTask - the task id
plugin - the plugin
Returns:
the Config Object


Copyright © 2013 Mairie de Paris. All Rights Reserved.