Class TaskInformationDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.ticketing.business.information.TaskInformationDAO
-
- All Implemented Interfaces:
ITaskInformationDAO
public class TaskInformationDAO extends Object implements ITaskInformationDAO
TaskInformationDAO
-
-
Field Summary
-
Fields inherited from interface fr.paris.lutece.plugins.workflow.modules.ticketing.business.information.ITaskInformationDAO
BEAN_SERVICE
-
-
Constructor Summary
Constructors Constructor Description TaskInformationDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove information by historyvoiddeleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove information by taskStringgetInfoHistoryValueByIdHistory(int idTicket, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the value in historyvoidinsert(TaskInformation taskInformation, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert new recordTaskInformationload(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load a record by primary keyvoidupdate(int idHistory, String infoValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)Upadte the value info
-
-
-
Method Detail
-
insert
public void insert(TaskInformation taskInformation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert new record- Specified by:
insertin interfaceITaskInformationDAO- Parameters:
taskInformation- the TaskInformation Objectplugin- the plugin
-
load
public TaskInformation load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a record by primary key- Specified by:
loadin interfaceITaskInformationDAO- Parameters:
nIdHistory- the action history idnIdTask- the task idplugin- the plugin- Returns:
- TaskInformation Object
-
update
public void update(int idHistory, String infoValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)Upadte the value info- Specified by:
updatein interfaceITaskInformationDAO- Parameters:
idHistory- the history idinfoValue- the info valueplugin- the plugin
-
getInfoHistoryValueByIdHistory
public String getInfoHistoryValueByIdHistory(int idTicket, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the value in history- Specified by:
getInfoHistoryValueByIdHistoryin interfaceITaskInformationDAO- Parameters:
idTicket- the history idplugin- the plugin
-
deleteByHistory
public void deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove information by history- Specified by:
deleteByHistoryin interfaceITaskInformationDAO- Parameters:
nIdHistory- the History idnIdTask- the task idplugin- the plugin
-
deleteByTask
public void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove information by task- Specified by:
deleteByTaskin interfaceITaskInformationDAO- Parameters:
nIdTask- the task idplugin- the plugin
-
-