public class NotifyGruHistoryDAO extends Object implements INotifyGruHistoryDAO
| Constructor and Description |
|---|
NotifyGruHistoryDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanHistoryContentByDate(Timestamp tMinCreationDate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
clean all histories content who have a creation date before the tMinCreationDate
|
void |
deleteByHistory(int nIdHistory,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete all notifygrus associated width the history specified in parameter
|
void |
deleteByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete all notifygrus associated width the task specified in parameter
|
int |
getNbHistoryToCleanByDate(Timestamp tMinCreationDate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
get nb histories who have a creation date before the tMinCreationDate
|
void |
insert(NotifyGruHistory history,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert new history notifygru
|
NotifyGruHistory |
load(int nIdHistory,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a record by primary key
|
public static final String BEAN
public void insert(NotifyGruHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface INotifyGruHistoryDAOhistory - history notifygruplugin - the pluginpublic NotifyGruHistory load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface INotifyGruHistoryDAOnIdHistory - the action history idnIdTask - the task idplugin - the pluginpublic void deleteByHistory(int nIdHistory,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByHistory in interface INotifyGruHistoryDAOnIdHistory - the history idnIdTask - the task idplugin - the pluginpublic void deleteByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByTask in interface INotifyGruHistoryDAOnIdTask - the task idplugin - the pluginpublic void cleanHistoryContentByDate(Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
cleanHistoryContentByDate in interface INotifyGruHistoryDAOtMinCreationDate - the creation date minimalplugin - the pluginpublic int getNbHistoryToCleanByDate(Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getNbHistoryToCleanByDate in interface INotifyGruHistoryDAOtMinCreationDate - the history creation dateplugin - the pluginCopyright © 2024 City of Paris. All rights reserved.