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

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

public class SynthesisCriteriaService
extends Object
implements ISynthetisCriteriaService

SynthesisCriteriaService


Constructor Summary
SynthesisCriteriaService()
           
 
Method Summary
 void create(SynthesisCriteria criteria, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Create a new criteria
 SynthesisCriteria findByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find a criteria
 void remove(int nIdCriteria, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a criteria
 void removeByIdTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete criteria from a given id task
 List<SynthesisCriteria> selectByIdTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Select criteria from a given id task
 void update(SynthesisCriteria criteria, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update a criteria
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynthesisCriteriaService

public SynthesisCriteriaService()
Method Detail

findByPrimaryKey

public SynthesisCriteria findByPrimaryKey(int nId,
                                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a criteria

Specified by:
findByPrimaryKey in interface ISynthetisCriteriaService
Parameters:
nId - the id
plugin - the plugin
Returns:
a criteria

create

@Transactional(value="workflow-evaluation.transactionManager")
public void create(SynthesisCriteria criteria,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create a new criteria

Specified by:
create in interface ISynthetisCriteriaService
Parameters:
criteria - the criteria
plugin - the plugin

update

@Transactional(value="workflow-evaluation.transactionManager")
public void update(SynthesisCriteria criteria,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a criteria

Specified by:
update in interface ISynthetisCriteriaService
Parameters:
criteria - the criteria
plugin - the plugin

selectByIdTask

public List<SynthesisCriteria> selectByIdTask(int nIdTask,
                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select criteria from a given id task

Specified by:
selectByIdTask in interface ISynthetisCriteriaService
Parameters:
nIdTask - the id task
plugin - the plugin
Returns:
a list of criteria

removeByIdTask

@Transactional(value="workflow-evaluation.transactionManager")
public void removeByIdTask(int nIdTask,
                                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete criteria from a given id task

Specified by:
removeByIdTask in interface ISynthetisCriteriaService
Parameters:
nIdTask - the id task
plugin - the plugin

remove

@Transactional(value="workflow-evaluation.transactionManager")
public void remove(int nIdCriteria,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a criteria

Specified by:
remove in interface ISynthetisCriteriaService
Parameters:
nIdCriteria - the id criteria
plugin - the plugin


Copyright © 2013 Mairie de Paris. All Rights Reserved.