fr.paris.lutece.plugins.workflow.service.testresource
Interface ITestResourceService

All Known Implementing Classes:
TestResourceService

public interface ITestResourceService

ITestResourceService


Method Summary
 void create(TestResource testResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of state
 TestResource findByPrimaryKey(int nIdTestResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the TestResource Object
 java.util.List<TestResource> getList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Select TestResource
 void remove(int nIdTestResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove testResource which is specified in parameter
 

Method Detail

create

@Transactional(value="workflow.transactionManager")
void create(TestResource testResource,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of state

Parameters:
testResource - The instance of TestResource which contains the informations to store
plugin - the plugin

remove

@Transactional(value="workflow.transactionManager")
void remove(int nIdTestResource,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove testResource which is specified in parameter

Parameters:
nIdTestResource - The id of testResiurce to remove
plugin - the Plugin

findByPrimaryKey

TestResource findByPrimaryKey(int nIdTestResource,
                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the TestResource Object

Parameters:
nIdTestResource - the test resource id
plugin - the plugin
Returns:
TestResource Object

getList

java.util.List<TestResource> getList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select TestResource

Parameters:
plugin - the plugin
Returns:
TestResource List


Copyright © 2012 Mairie de Paris. All Rights Reserved.