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

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

public class WorkflowDAO
extends java.lang.Object
implements IWorkflowDAO

class WorkflowDAO


Constructor Summary
WorkflowDAO()
           
 
Method Summary
 void delete(int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete the workflow Object
 void insert(fr.paris.lutece.portal.business.workflow.Workflow workflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 fr.paris.lutece.portal.business.workflow.Workflow load(int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the workflow Object
 java.util.List<fr.paris.lutece.portal.business.workflow.Workflow> selectWorkflowByFilter(WorkflowFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          select workflow by Filter
 void store(fr.paris.lutece.portal.business.workflow.Workflow workflow, 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

WorkflowDAO

public WorkflowDAO()
Method Detail

insert

public void insert(fr.paris.lutece.portal.business.workflow.Workflow workflow,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IWorkflowDAO
Insert a new record in the table.

Specified by:
insert in interface IWorkflowDAO
Parameters:
workflow - instance of the Workflow object to insert
plugin - the plugin

store

public void store(fr.paris.lutece.portal.business.workflow.Workflow workflow,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IWorkflowDAO
update record in the table.

Specified by:
store in interface IWorkflowDAO
Parameters:
workflow - instance of the Workflow object to update
plugin - the plugin

load

public fr.paris.lutece.portal.business.workflow.Workflow load(int nIdWorkflow,
                                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IWorkflowDAO
Load the workflow Object

Specified by:
load in interface IWorkflowDAO
Parameters:
nIdWorkflow - the workflow id
plugin - the plugin
Returns:
the workflow Object

delete

public void delete(int nIdWorkflow,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IWorkflowDAO
Delete the workflow Object

Specified by:
delete in interface IWorkflowDAO
Parameters:
nIdWorkflow - the workflow id
plugin - the plugin

selectWorkflowByFilter

public java.util.List<fr.paris.lutece.portal.business.workflow.Workflow> selectWorkflowByFilter(WorkflowFilter filter,
                                                                                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IWorkflowDAO
select workflow by Filter

Specified by:
selectWorkflowByFilter in interface IWorkflowDAO
Parameters:
filter - the filter
plugin - the plugin
Returns:
a list of state


Copyright © 2012 Mairie de Paris. All Rights Reserved.