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

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.business.ResourceHistoryDAO
All Implemented Interfaces:
IResourceHistoryDAO

public class ResourceHistoryDAO
extends java.lang.Object
implements IResourceHistoryDAO

class ResourceHistoryDAO


Constructor Summary
ResourceHistoryDAO()
           
 
Method Summary
 void delete(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete the ResourceHistory Object
 void insert(ResourceHistory resourceHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 ResourceHistory load(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the Resource History Object
 java.util.List<ResourceHistory> selectByResource(int nIdResource, java.lang.String strResourceType, int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load all ResourceHistory Object for a given resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceHistoryDAO

public ResourceHistoryDAO()
Method Detail

insert

public void insert(ResourceHistory resourceHistory,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IResourceHistoryDAO
Insert a new record in the table.

Specified by:
insert in interface IResourceHistoryDAO
Parameters:
resourceHistory - instance of the ResourceHistory object to insert
plugin - the plugin

load

public ResourceHistory load(int nIdHistory,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IResourceHistoryDAO
Load the Resource History Object

Specified by:
load in interface IResourceHistoryDAO
Parameters:
nIdHistory - the history id
plugin - the plugin
Returns:
the Resource History Object

selectByResource

public java.util.List<ResourceHistory> selectByResource(int nIdResource,
                                                        java.lang.String strResourceType,
                                                        int nIdWorkflow,
                                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IResourceHistoryDAO
Load all ResourceHistory Object for a given resource

Specified by:
selectByResource in interface IResourceHistoryDAO
Parameters:
nIdResource - the resource id
strResourceType - the resource type
nIdWorkflow - the workflow id
plugin - the plugin
Returns:
the list of ResourceHistory

delete

public void delete(int nIdHistory,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IResourceHistoryDAO
Delete the ResourceHistory Object

Specified by:
delete in interface IResourceHistoryDAO
Parameters:
nIdHistory - the history id
plugin - the plugin


Copyright © 2009 Mairie de Paris. All Rights Reserved.