fr.paris.lutece.plugins.workflow.business.task
Class TaskDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.business.task.TaskDAO
All Implemented Interfaces:
ITaskDAO

public class TaskDAO
extends java.lang.Object
implements ITaskDAO

class TaskDAO


Constructor Summary
TaskDAO()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskDAO

public TaskDAO()
Method Detail

insert

public void insert(ITask task,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: ITaskDAO
Insert a new record in the table.

Specified by:
insert in interface ITaskDAO
Parameters:
task - instance of the Task object to insert
plugin - the plugin

store

public void store(ITask task,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: ITaskDAO
update record in the table.

Specified by:
store in interface ITaskDAO
Parameters:
task - instance of the task object to update
plugin - the plugin

load

public ITask load(int nIdTask,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin,
                  java.util.Locale locale)
Description copied from interface: ITaskDAO
Load the task Object

Specified by:
load in interface ITaskDAO
Parameters:
nIdTask - the task id
plugin - the plugin
locale - the locale
Returns:
the Action Object

delete

public void delete(int nIdTask,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: ITaskDAO
Delete the task Object

Specified by:
delete in interface ITaskDAO
Parameters:
nIdTask - the task id
plugin - the plugin

selectTaskByIdAction

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

Specified by:
selectTaskByIdAction in interface ITaskDAO
Parameters:
nIdAction - the action id
plugin - the plugin
locale - the locale
Returns:
a list of ITask


Copyright © 2012 Mairie de Paris. All Rights Reserved.