java.lang.Object
fr.paris.lutece.plugins.workflow.modules.alertgru.business.history.AlertGruHistoryDAO
All Implemented Interfaces:
IAlertGruHistoryDAO

public class AlertGruHistoryDAO extends Object implements IAlertGruHistoryDAO
class AlertGruHistoryDAO
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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
    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
  • Field Details

  • Constructor Details

    • AlertGruHistoryDAO

      public AlertGruHistoryDAO()
  • Method Details

    • 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