Class UploadHistoryDAO
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.upload.business.history.UploadHistoryDAO
- All Implemented Interfaces:
IUploadHistoryDAO
The Class UploadHistoryDAO.
-
Field Summary
Fields inherited from interface fr.paris.lutece.plugins.workflow.modules.upload.business.history.IUploadHistoryDAO
BEAN_SERVICE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete by history.voiddeleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete by task.voidinsert(UploadHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert.load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load.
-
Constructor Details
-
UploadHistoryDAO
public UploadHistoryDAO()
-
-
Method Details
-
insert
Insert.- Specified by:
insertin interfaceIUploadHistoryDAO- Parameters:
history- the historyplugin- the plugin
-
load
public UploadHistory load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load.- Specified by:
loadin interfaceIUploadHistoryDAO- Parameters:
nIdHistory- the n id historynIdTask- the n id taskplugin- the plugin- Returns:
- the upload history
-
deleteByHistory
public void deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete by history.- Specified by:
deleteByHistoryin interfaceIUploadHistoryDAO- Parameters:
nIdHistory- the n id historynIdTask- the n id taskplugin- the plugin
-
deleteByTask
public void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete by task.- Specified by:
deleteByTaskin interfaceIUploadHistoryDAO- Parameters:
nIdTask- the n id taskplugin- the plugin
-