fr.paris.lutece.plugins.workflow.business.task
Interface ITaskDAO

All Known Implementing Classes:
TaskDAO

public interface ITaskDAO

ITaskDAO


Method Summary
 void delete(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete the task Object
 void insert(ITask task, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 ITask load(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale)
          Load the task Object
 java.util.List<ITask> selectTaskByIdAction(int nIdAction, fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale)
          select all task associated width the action specified in parameter
 void store(ITask task, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          update record in the table.
 

Method Detail

insert

void insert(ITask task,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
task - instance of the Task object to insert
plugin - the plugin

store

void store(ITask task,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
update record in the table.

Parameters:
task - instance of the task object to update
plugin - the plugin

load

ITask load(int nIdTask,
           fr.paris.lutece.portal.service.plugin.Plugin plugin,
           java.util.Locale locale)
Load the task Object

Parameters:
nIdTask - the task id
plugin - the plugin
locale - the locale
Returns:
the Action Object

delete

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

Parameters:
nIdTask - the task id
plugin - the plugin

selectTaskByIdAction

java.util.List<ITask> selectTaskByIdAction(int nIdAction,
                                           fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                           java.util.Locale locale)
select all task associated width the action specified in parameter

Parameters:
nIdAction - the action id
plugin - the plugin
locale - the locale
Returns:
a list of ITask


Copyright © 2011 Mairie de Paris. All Rights Reserved.