Class AlertGruHistoryDAO

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deleteByHistory​(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      delete all alertgrus associated width the history specified in parameter
      void deleteByTask​(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      delete all alertgrus associated width the task specified in parameter
      void insert​(AlertGruHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      insert new history alertgru
      AlertGruHistory load​(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load a record by primary key
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AlertGruHistoryDAO

        public AlertGruHistoryDAO()
    • Method Detail

      • insert

        public void insert​(AlertGruHistory history,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        insert new history alertgru
        Specified by:
        insert in interface IAlertGruHistoryDAO
        Parameters:
        history - history alertgru
        plugin - the plugin
      • load

        public AlertGruHistory load​(int nIdHistory,
                                    int nIdTask,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load a record by primary key
        Specified by:
        load in interface IAlertGruHistoryDAO
        Parameters:
        nIdHistory - the action history id
        nIdTask - the task id
        plugin - the plugin
        Returns:
        AlertGruHistory Object
      • deleteByHistory

        public void deleteByHistory​(int nIdHistory,
                                    int nIdTask,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        delete all alertgrus associated width the history specified in parameter
        Specified by:
        deleteByHistory in interface IAlertGruHistoryDAO
        Parameters:
        nIdHistory - the history id
        nIdTask - the task id
        plugin - the plugin
      • deleteByTask

        public void deleteByTask​(int nIdTask,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        delete all alertgrus associated width the task specified in parameter
        Specified by:
        deleteByTask in interface IAlertGruHistoryDAO
        Parameters:
        nIdTask - the task id
        plugin - the plugin