Interface INotifyGruHistoryService
-
- All Known Implementing Classes:
NotifyGruHistoryService
public interface INotifyGruHistoryServiceINotifyGruHistoryService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcleanHistoryContentByDate(java.sql.Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)clean all histories content who have a creation date before the tMinCreationDatevoidcreate(NotifyGruHistory notifyGru, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of Notify GRUNotifyGruHistoryfindByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the Notify GRU ObjectintgetNbHistoryToCleanByDate(java.sql.Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)get nb histories who have a creation date before the tMinCreationDatevoidremoveByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove Notify GRU value by historyvoidremoveByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove Notify GRU value by task
-
-
-
Method Detail
-
create
@Transactional("workflow-notifygru.transactionManager") void create(NotifyGruHistory notifyGru, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of Notify GRU- Parameters:
notifyGru- The instance of comment value which contains the informations to storeplugin- the plugin
-
removeByHistory
@Transactional("workflow-notifygru.transactionManager") void removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove Notify GRU value by history- Parameters:
nIdHistory- the history keynIdTask- The task keyplugin- the Plugin
-
removeByTask
@Transactional("workflow-notifygru.transactionManager") void removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove Notify GRU value by task- Parameters:
nIdTask- The task keyplugin- the Plugin
-
findByPrimaryKey
NotifyGruHistory findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the Notify GRU Object- Parameters:
nIdHistory- the history idnIdTask- the task idplugin- the plugin- Returns:
- the Config Object
-
cleanHistoryContentByDate
void cleanHistoryContentByDate(java.sql.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(java.sql.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
-
-