Interface INotifyGruHistoryDAO
- All Known Implementing Classes:
NotifyGruHistoryDAO
public interface INotifyGruHistoryDAO
INotifyGruHistoryDAO
-
Method Summary
Modifier and TypeMethodDescriptionvoidcleanHistoryContentByDate(Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin) clean all histories content who have a creation date before the tMinCreationDatevoiddeleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) delete all notifygrus associated width the history specified in parametervoiddeleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) delete all notifygrus associated width the task specified in parameterintgetNbHistoryToCleanByDate(Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin) get nb histories who have a creation date before the tMinCreationDatevoidinsert(NotifyGruHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin) insert new history notifygruload(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load a record by primary key
-
Method Details
-
insert
insert new history notifygru- Parameters:
history- history notifygruplugin- the plugin
-
load
NotifyGruHistory load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load a record by primary key- Parameters:
nIdHistory- the action history idnIdTask- the task idplugin- the plugin- Returns:
- NotifyGruHistory Object
-
deleteByTask
void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) delete all notifygrus associated width the task specified in parameter- Parameters:
nIdTask- the task idplugin- the plugin
-
deleteByHistory
void deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) delete all notifygrus associated width the history specified in parameter- Parameters:
nIdHistory- the history idnIdTask- the task idplugin- the plugin
-
cleanHistoryContentByDate
void cleanHistoryContentByDate(Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin) clean all histories content who have a creation date before the tMinCreationDate- Parameters:
tMinCreationDate- the creation date minimalplugin- the plugin
-
getNbHistoryToCleanByDate
int getNbHistoryToCleanByDate(Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin) get nb histories who have a creation date before the tMinCreationDate- Parameters:
tMinCreationDate- the history creation dateplugin- the plugin- Returns:
- the nb nb histories who have a creation date before the tMinCreationDate
-