fr.paris.lutece.plugins.workflow.modules.evaluation.service.synthesis
Class SynthesisCriteriaValueService

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.evaluation.service.synthesis.SynthesisCriteriaValueService
All Implemented Interfaces:
ISynthesisCriteriaValueService

public class SynthesisCriteriaValueService
extends Object
implements ISynthesisCriteriaValueService

SynthesisCriteriaValueService


Constructor Summary
SynthesisCriteriaValueService()
           
 
Method Summary
 void create(SynthesisCriteriaValue criteriaValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Create an instance of evaluation criteria value
 SynthesisCriteriaValue findByPrimaryKey(int nIdHistory, int nIdTask, int nIdCriteria, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load an evaluation criteria value
 void removeByEvaluation(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
 

Constructor Detail

SynthesisCriteriaValueService

public SynthesisCriteriaValueService()
Method Detail

create

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

Specified by:
create in interface ISynthesisCriteriaValueService
Parameters:
criteriaValue - an instance of criteriaValue
plugin - the plugin

removeByEvaluation

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

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

findByPrimaryKey

public SynthesisCriteriaValue findByPrimaryKey(int nIdHistory,
                                               int nIdTask,
                                               int nIdCriteria,
                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load an evaluation criteria value

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


Copyright © 2013 Mairie de Paris. All Rights Reserved.