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

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.business.ResourceWorkflowHome

public final class ResourceWorkflowHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for DocumentWorkflowHome objects


Method Summary
static void create(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of resoureceWorkflow
static ResourceWorkflow findByPrimaryKey(int nIdResource, java.lang.String strResourceType, int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the resourceWorkflow Object
static java.util.List<ResourceWorkflow> getAllResourceWorkflowByWorkflow(int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Select All resourceWorkflow Object associated to the workflow
static void remove(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          remove resourceWorkflow which is specified in parameter
static void update(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update of resourceWorkflow which is specified in parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static void create(ResourceWorkflow resourceWorkflow,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of resoureceWorkflow

Parameters:
resourceWorkflow - The instance of resourceWorkflow which contains the informations to store
plugin - the plugin

update

public static void update(ResourceWorkflow resourceWorkflow,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of resourceWorkflow which is specified in parameter

Parameters:
resourceWorkflow - The instance of resourceWorkflow which contains the informations to update
plugin - the Plugin

remove

public static void remove(ResourceWorkflow resourceWorkflow,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove resourceWorkflow which is specified in parameter

Parameters:
resourceWorkflow - The instance of resourceWorkflow which contains the informations to remove
plugin - the Plugin

findByPrimaryKey

public static ResourceWorkflow findByPrimaryKey(int nIdResource,
                                                java.lang.String strResourceType,
                                                int nIdWorkflow,
                                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the resourceWorkflow Object

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

getAllResourceWorkflowByWorkflow

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

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


Copyright © 2009 Mairie de Paris. All Rights Reserved.