Class AlertGruHistoryDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.alertgru.business.history.AlertGruHistoryDAO
-
- All Implemented Interfaces:
IAlertGruHistoryDAO
public class AlertGruHistoryDAO extends java.lang.Object implements IAlertGruHistoryDAO
class AlertGruHistoryDAO
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBEAN
-
Constructor Summary
Constructors Constructor Description AlertGruHistoryDAO()
-
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)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 alertgruAlertGruHistoryload(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load a record by primary key
-
-
-
Field Detail
-
BEAN
public static final java.lang.String BEAN
- See Also:
- Constant Field Values
-
-
Method Detail
-
insert
public void insert(AlertGruHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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
-
-