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

All Known Implementing Classes:
WorkflowDAO

public interface IWorkflowDAO

IWorkflowDAO


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.
 

Method Detail

insert

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.

Parameters:
workflow - instance of the Workflow object to insert
plugin - the plugin

store

void store(fr.paris.lutece.portal.business.workflow.Workflow workflow,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
update record in the table.

Parameters:
workflow - instance of the Workflow object to update
plugin - the plugin

load

fr.paris.lutece.portal.business.workflow.Workflow load(int nIdWorkflow,
                                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the workflow Object

Parameters:
nIdWorkflow - the workflow id
plugin - the plugin
Returns:
the workflow Object

delete

void delete(int nIdWorkflow,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the workflow Object

Parameters:
nIdWorkflow - the workflow id
plugin - the plugin

selectWorkflowByFilter

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

Parameters:
filter - the filter
plugin - the plugin
Returns:
a list of state


Copyright © 2011 Mairie de Paris. All Rights Reserved.