Class AlertGruHistoryDAO
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.alertgru.business.history.AlertGruHistoryDAO
- All Implemented Interfaces:
IAlertGruHistoryDAO
class AlertGruHistoryDAO
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) delete all alertgrus associated width the history specified in parametervoiddeleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) delete all alertgrus associated width the task specified in parametervoidinsert(AlertGruHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin) insert new history alertgruload(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load a record by primary key
-
Field Details
-
BEAN
- See Also:
-
-
Constructor Details
-
AlertGruHistoryDAO
public AlertGruHistoryDAO()
-
-
Method Details
-
insert
insert new history alertgru- Specified by:
insertin interfaceIAlertGruHistoryDAO- Parameters:
history- history alertgruplugin- the plugin
-
load
public AlertGruHistory load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load a record by primary key- Specified by:
loadin interfaceIAlertGruHistoryDAO- Parameters:
nIdHistory- the action history idnIdTask- the task idplugin- the plugin- Returns:
- AlertGruHistory Object
-
deleteByHistory
public void deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) delete all alertgrus associated width the history specified in parameter- Specified by:
deleteByHistoryin interfaceIAlertGruHistoryDAO- Parameters:
nIdHistory- the history idnIdTask- the task idplugin- the plugin
-
deleteByTask
public void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) delete all alertgrus associated width the task specified in parameter- Specified by:
deleteByTaskin interfaceIAlertGruHistoryDAO- Parameters:
nIdTask- the task idplugin- the plugin
-