Class AlertGruHistoryService
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.alertgru.service.AlertGruHistoryService
- All Implemented Interfaces:
IAlertGruHistoryService
@ApplicationScoped
@Named("workflow-alertgru.alertGruHistoryService")
public class AlertGruHistoryService
extends Object
implements IAlertGruHistoryService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(AlertGruHistory alertGru, fr.paris.lutece.portal.service.plugin.Plugin plugin) Creation of an instance of Alert GRUfindByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the Alert GRU ObjectvoidremoveByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove Alert GRU value by historyvoidremoveByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove Alert GRU value by task
-
Field Details
-
BEAN_SERVICE
The name of the bean of this service- See Also:
-
-
Constructor Details
-
AlertGruHistoryService
public AlertGruHistoryService()
-
-
Method Details
-
create
Creation of an instance of Alert GRU- Specified by:
createin interfaceIAlertGruHistoryService- Parameters:
alertGru- The instance of alert GRU value which contains the informations to storeplugin- the plugin
-
removeByHistory
public void removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove Alert GRU value by history- Specified by:
removeByHistoryin interfaceIAlertGruHistoryService- Parameters:
nIdHistory- the history keynIdTask- The task keyplugin- the Plugin
-
removeByTask
public void removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove Alert GRU value by task- Specified by:
removeByTaskin interfaceIAlertGruHistoryService- Parameters:
nIdTask- The task keyplugin- the Plugin
-
findByPrimaryKey
public AlertGruHistory findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the Alert GRU Object- Specified by:
findByPrimaryKeyin interfaceIAlertGruHistoryService- Parameters:
nIdHistory- the history idnIdTask- the task idplugin- the plugin- Returns:
- the Config Object
-