public class NotifyGruHistoryService extends Object implements INotifyGruHistoryService
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_SERVICE
The name of the bean of this service
|
| Constructor and Description |
|---|
NotifyGruHistoryService() |
| 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 |
create(NotifyGruHistory notifyGru,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of Notify GRU
|
NotifyGruHistory |
findByPrimaryKey(int nIdHistory,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the Notify GRU Object
|
int |
getNbHistoryToCleanByDate(Timestamp tMinCreationDate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
get nb histories who have a creation date before the tMinCreationDate
|
void |
removeByHistory(int nIdHistory,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove Notify GRU value by history
|
void |
removeByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove Notify GRU value by task
|
public static final String BEAN_SERVICE
@Transactional(value="workflow-notifygru.transactionManager") public void create(NotifyGruHistory notifyGru, fr.paris.lutece.portal.service.plugin.Plugin plugin)
create in interface INotifyGruHistoryServicenotifyGru - The instance of comment value which contains the informations to storeplugin - the plugin@Transactional(value="workflow-notifygru.transactionManager")
public void removeByHistory(int nIdHistory,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeByHistory in interface INotifyGruHistoryServicenIdHistory - the history keynIdTask - The task keyplugin - the Plugin@Transactional(value="workflow-notifygru.transactionManager")
public void removeByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeByTask in interface INotifyGruHistoryServicenIdTask - The task keyplugin - the Pluginpublic NotifyGruHistory findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByPrimaryKey in interface INotifyGruHistoryServicenIdHistory - the history idnIdTask - the task idplugin - the pluginpublic void cleanHistoryContentByDate(Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
cleanHistoryContentByDate in interface INotifyGruHistoryServicetMinCreationDate - the creation date minimalplugin - the pluginpublic int getNbHistoryToCleanByDate(Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getNbHistoryToCleanByDate in interface INotifyGruHistoryServicetMinCreationDate - the history creation dateplugin - the pluginCopyright © 2022 City of Paris. All rights reserved.