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 deleteWorkgroups(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          delete all resource entities owner
 java.util.List<ResourceWorkflow> getListResourceWorkflowByFilter(ResourceWorkflowFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Select ResourceWorkflow by filter
 void insert(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 void insertWorkgroup(ResourceWorkflow resourceWorkflow, java.lang.String strWorkgroup, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          insert a new entities owner
 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
 java.util.List<java.lang.String> selectWorkgroups(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          select the resource entity owner
 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

selectWorkgroups

public java.util.List<java.lang.String> selectWorkgroups(ResourceWorkflow resourceWorkflow,
                                                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IResourceWorkflowDAO
select the resource entity owner

Specified by:
selectWorkgroups in interface IResourceWorkflowDAO
Parameters:
resourceWorkflow - the resource
plugin - the plugin
Returns:
a list of entities Owner

deleteWorkgroups

public void deleteWorkgroups(ResourceWorkflow resourceWorkflow,
                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IResourceWorkflowDAO
delete all resource entities owner

Specified by:
deleteWorkgroups in interface IResourceWorkflowDAO
Parameters:
resourceWorkflow - the resource
plugin - the plugin

insertWorkgroup

public void insertWorkgroup(ResourceWorkflow resourceWorkflow,
                            java.lang.String strWorkgroup,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IResourceWorkflowDAO
insert a new entities owner

Specified by:
insertWorkgroup in interface IResourceWorkflowDAO
Parameters:
resourceWorkflow - the resource
strWorkgroup - the workgroupkey
plugin - the plugin

getListResourceWorkflowByFilter

public java.util.List<ResourceWorkflow> getListResourceWorkflowByFilter(ResourceWorkflowFilter filter,
                                                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IResourceWorkflowDAO
Select ResourceWorkflow by filter

Specified by:
getListResourceWorkflowByFilter in interface IResourceWorkflowDAO
Parameters:
filter - the ResourceWorkflow filter
plugin - the plugin
Returns:
ResourceWorkflow List


Copyright © 2009 Mairie de Paris. All Rights Reserved.