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

All Known Implementing Classes:
ResourceWorkflowDAO

public interface IResourceWorkflowDAO

IResourceWorkflowDAO


Method Summary
 void delete(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete resourceWorkflow Object
 void insert(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 ResourceWorkflow load(int nIdResource, java.lang.String strResourceType, int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the Resource workflow Object
 java.util.List<ResourceWorkflow> selectResourceWorkflowByWorkflow(int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Select All resourceWorkflow associated to the workflow
 void store(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          update record in the table.
 

Method Detail

insert

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

Parameters:
resourceWorkflow - instance of the ResourceWorkflow object to insert
plugin - the plugin

store

void store(ResourceWorkflow resourceWorkflow,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
update record in the table.

Parameters:
resourceWorkflow - instance of the ResourceWorkflow object to update
plugin - the plugin

load

ResourceWorkflow load(int nIdResource,
                      java.lang.String strResourceType,
                      int nIdWorkflow,
                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the Resource workflow Object

Parameters:
nIdResource - the resource Id
strResourceType - the resource type
nIdWorkflow - the workflow id
plugin - the plugin
Returns:
the Document workflow Object

delete

void delete(ResourceWorkflow resourceWorkflow,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete resourceWorkflow Object

Parameters:
resourceWorkflow - resourceWorkflow object
plugin - the plugin

selectResourceWorkflowByWorkflow

java.util.List<ResourceWorkflow> selectResourceWorkflowByWorkflow(int nIdWorkflow,
                                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select All resourceWorkflow associated to the workflow

Parameters:
nIdWorkflow - workflow id
plugin - the plugin
Returns:
List of resourceWorkflow Object


Copyright © 2009 Mairie de Paris. All Rights Reserved.