fr.paris.lutece.plugins.workflow.business.testresource
Class TestResourceDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.business.testresource.TestResourceDAO
All Implemented Interfaces:
ITestResourceDAO

public class TestResourceDAO
extends java.lang.Object
implements ITestResourceDAO

TestResourceDAO


Constructor Summary
TestResourceDAO()
           
 
Method Summary
 void delete(int nIdTestResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete the TestResource Object
 void insert(TestResource testResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 TestResource load(int nIdTestResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the TestResource Object
 java.util.List<TestResource> selectTestResource(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load all TestResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestResourceDAO

public TestResourceDAO()
Method Detail

insert

public void insert(TestResource testResource,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Specified by:
insert in interface ITestResourceDAO
Parameters:
testResource - instance of TestResource Object
plugin - the plugin

load

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

Specified by:
load in interface ITestResourceDAO
Parameters:
nIdTestResource - the test resource id
plugin - the plugin
Returns:
TestResource Object

delete

public void delete(int nIdTestResource,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the TestResource Object

Specified by:
delete in interface ITestResourceDAO
Parameters:
nIdTestResource - the testResourceId
plugin - the plugin

selectTestResource

public java.util.List<TestResource> selectTestResource(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all TestResource

Specified by:
selectTestResource in interface ITestResourceDAO
Parameters:
plugin - the plugin
Returns:
List of testResource


Copyright © 2012 Mairie de Paris. All Rights Reserved.