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

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

public class ResourceWorkflowDAO
extends java.lang.Object
implements IResourceWorkflowDAO

class ResourceWorkflowDAO


Constructor Summary
ResourceWorkflowDAO()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceWorkflowDAO

public ResourceWorkflowDAO()
Method Detail

insert

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

Specified by:
insert in interface IResourceWorkflowDAO
Parameters:
resourceWorkflow - instance of the ResourceWorkflow object to insert
plugin - the plugin

store

public void store(ResourceWorkflow resourceWorkflow,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IResourceWorkflowDAO
update record in the table.

Specified by:
store in interface IResourceWorkflowDAO
Parameters:
resourceWorkflow - instance of the ResourceWorkflow object to update
plugin - the plugin

load

public ResourceWorkflow load(int nIdResource,
                             java.lang.String strResourceType,
                             int nIdWorkflow,
                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IResourceWorkflowDAO
Load the Resource workflow Object

Specified by:
load in interface IResourceWorkflowDAO
Parameters:
nIdResource - the resource Id
strResourceType - the resource type
nIdWorkflow - the workflow id
plugin - the plugin
Returns:
the Document workflow Object

selectResourceWorkflowByWorkflow

public java.util.List<ResourceWorkflow> selectResourceWorkflowByWorkflow(int nIdWorkflow,
                                                                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IResourceWorkflowDAO
Select All resourceWorkflow associated to the workflow

Specified by:
selectResourceWorkflowByWorkflow in interface IResourceWorkflowDAO
Parameters:
nIdWorkflow - workflow id
plugin - the plugin
Returns:
List of resourceWorkflow Object

delete

public void delete(ResourceWorkflow resourceWorkflow,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IResourceWorkflowDAO
Delete resourceWorkflow Object

Specified by:
delete in interface IResourceWorkflowDAO
Parameters:
resourceWorkflow - resourceWorkflow object
plugin - the plugin


Copyright © 2009 Mairie de Paris. All Rights Reserved.