Class TaskInformationDAO
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.ticketing.business.information.TaskInformationDAO
- All Implemented Interfaces:
ITaskInformationDAO
TaskInformationDAO
-
Field Summary
Fields inherited from interface fr.paris.lutece.plugins.workflow.modules.ticketing.business.information.ITaskInformationDAO
BEAN_SERVICE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove information by history and id taskvoiddeleteByHistoryList(List<Integer> idHistoryList, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove information by id history listvoiddeleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove information by taskgetInfoHistoryValueByIdHistory(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 recordload(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load a record by primary keyvoidUpadte the value info
-
Constructor Details
-
TaskInformationDAO
public TaskInformationDAO()
-
-
Method Details
-
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 and id task- 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
-
deleteByHistoryList
public void deleteByHistoryList(List<Integer> idHistoryList, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove information by id history list- Specified by:
deleteByHistoryListin interfaceITaskInformationDAO- Parameters:
idHistoryList- the History id listplugin- the plugin
-