Class AlertGruHistoryService

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_SERVICE
      The name of the bean of this service
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void create​(AlertGruHistory alertGru, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Creation of an instance of Alert GRU
      AlertGruHistory 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 Detail

      • BEAN_SERVICE

        public static final java.lang.String BEAN_SERVICE
        The name of the bean of this service
        See Also:
        Constant Field Values
    • Constructor Detail

      • AlertGruHistoryService

        public AlertGruHistoryService()
    • Method Detail

      • 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