Class AlertGruHistoryService

java.lang.Object
fr.paris.lutece.plugins.workflow.modules.alertgru.service.AlertGruHistoryService
All Implemented Interfaces:
IAlertGruHistoryService

public class AlertGruHistoryService extends Object implements IAlertGruHistoryService
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name of the bean of this service
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    create(AlertGruHistory alertGru, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Creation of an instance of Alert GRU
    findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the Alert GRU Object
    void
    removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Remove Alert GRU value by history
    void
    removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Remove Alert GRU value by task

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • AlertGruHistoryService

      public AlertGruHistoryService()
  • Method Details

    • create

      @Transactional("workflow-alertgru.transactionManager") public void create(AlertGruHistory alertGru, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Creation of an instance of Alert GRU
      Specified by:
      create in interface IAlertGruHistoryService
      Parameters:
      alertGru - The instance of comment value which contains the informations to store
      plugin - the plugin
    • removeByHistory

      @Transactional("workflow-alertgru.transactionManager") public void removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove Alert GRU value by history
      Specified by:
      removeByHistory in interface IAlertGruHistoryService
      Parameters:
      nIdHistory - the history key
      nIdTask - The task key
      plugin - the Plugin
    • removeByTask

      @Transactional("workflow-alertgru.transactionManager") public void removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove Alert GRU value by task
      Specified by:
      removeByTask in interface IAlertGruHistoryService
      Parameters:
      nIdTask - The task key
      plugin - 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:
      findByPrimaryKey in interface IAlertGruHistoryService
      Parameters:
      nIdHistory - the history id
      nIdTask - the task id
      plugin - the plugin
      Returns:
      the Config Object