fr.paris.lutece.plugins.workflow.modules.evaluation.business.synthesis
Class SynthesisCriteriaDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.evaluation.business.synthesis.SynthesisCriteriaDAO
All Implemented Interfaces:
ISynthesisCriteriaDAO

public class SynthesisCriteriaDAO
extends java.lang.Object
implements ISynthesisCriteriaDAO

SynthesisCriteriaDAO


Constructor Summary
SynthesisCriteriaDAO()
           
 
Method Summary
 void delete(int nIdCriteria, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Removes the criteria
 void deleteByIdTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Removes all the criteria for the task
 void insert(SynthesisCriteria criteria, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Adds a new element
 SynthesisCriteria load(int nIdCriteria, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Finds the criteria
 java.util.List<SynthesisCriteria> selectByIdTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Finds all criteria for this task
 void store(SynthesisCriteria criteria, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          stores the criteria
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynthesisCriteriaDAO

public SynthesisCriteriaDAO()
Method Detail

insert

public void insert(SynthesisCriteria criteria,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Adds a new element

Specified by:
insert in interface ISynthesisCriteriaDAO
Parameters:
criteria - criteria
plugin - the plugin

store

public void store(SynthesisCriteria criteria,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
stores the criteria

Specified by:
store in interface ISynthesisCriteriaDAO
Parameters:
criteria - the criteria
plugin - the plugin

load

public SynthesisCriteria load(int nIdCriteria,
                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds the criteria

Specified by:
load in interface ISynthesisCriteriaDAO
Parameters:
nIdCriteria - primary key
plugin - the plugin
Returns:
the criteria found

selectByIdTask

public java.util.List<SynthesisCriteria> selectByIdTask(int nIdTask,
                                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all criteria for this task

Specified by:
selectByIdTask in interface ISynthesisCriteriaDAO
Parameters:
nIdTask - the task
plugin - the plugin
Returns:
the list

deleteByIdTask

public void deleteByIdTask(int nIdTask,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes all the criteria for the task

Specified by:
deleteByIdTask in interface ISynthesisCriteriaDAO
Parameters:
nIdTask - the task id
plugin - the plugin

delete

public void delete(int nIdCriteria,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes the criteria

Specified by:
delete in interface ISynthesisCriteriaDAO
Parameters:
nIdCriteria - the primary key
plugin - the plugin


Copyright © 2012 Mairie de Paris. All Rights Reserved.