fr.paris.lutece.plugins.workflow.business
Interface IResourceHistoryDAO

All Known Implementing Classes:
ResourceHistoryDAO

public interface IResourceHistoryDAO

IResourceHistoryDAO


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
 

Method Detail

insert

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

Parameters:
resourceHistory - instance of the ResourceHistory object to insert
plugin - the plugin

load

ResourceHistory load(int nIdHistory,
                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the Resource History Object

Parameters:
nIdHistory - the history id
plugin - the plugin
Returns:
the Resource History Object

selectByResource

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

Parameters:
nIdResource - the resource id
strResourceType - the resource type
nIdWorkflow - the workflow id
plugin - the plugin
Returns:
the list of ResourceHistory

delete

void delete(int nIdHistory,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the ResourceHistory Object

Parameters:
nIdHistory - the history id
plugin - the plugin


Copyright © 2009 Mairie de Paris. All Rights Reserved.