fr.paris.lutece.plugins.workflow.business
Class TestResourceHome

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.business.TestResourceHome

public final class TestResourceHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for TestResource objects


Method Summary
static void create(TestResource testResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of state
static TestResource findByPrimaryKey(int nIdTestResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the TestResource Object
static java.util.List<TestResource> getList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Select TestResource
static void remove(int nIdTestResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          remove testResource which is specified in parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static 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

public static 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

public static 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

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

Parameters:
plugin - the plugin
Returns:
TestResource List


Copyright © 2011 Mairie de Paris. All Rights Reserved.