Class TaskInformationDAO
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.unittree.business.task.information.TaskInformationDAO
- All Implemented Interfaces:
ITaskInformationDAO
@ApplicationScoped
@Named("workflow-unittree.taskInformationDAO")
public final class TaskInformationDAO
extends Object
implements ITaskInformationDAO
This class provides Data Access methods for
TaskInformation objects-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a new record in the table.voidinsert(TaskInformation taskInformation, fr.paris.lutece.portal.service.plugin.Plugin plugin) Inserts a new record in the table.load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Loads the data from the table
-
Field Details
-
BEAN_NAME
- See Also:
-
-
Constructor Details
-
TaskInformationDAO
public TaskInformationDAO()
-
-
Method Details
-
insert
public void insert(TaskInformation taskInformation, fr.paris.lutece.portal.service.plugin.Plugin plugin) Inserts a new record in the table.- Specified by:
insertin interfaceITaskInformationDAO- Parameters:
taskInformation- the task information to insertplugin- the Plugin
-
load
public TaskInformation load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Loads the data from the table- Specified by:
loadin interfaceITaskInformationDAO- Parameters:
nIdHistory- The history idnIdTask- The task idplugin- the Plugin- Returns:
- The task information
-
delete
public void delete(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:ITaskInformationDAODelete a new record in the table.- Specified by:
deletein interfaceITaskInformationDAO- Parameters:
nIdHistory- The history idnIdTask- The task idplugin- the Plugin
-