Interface INotifyGruHistoryDAO

All Known Implementing Classes:
NotifyGruHistoryDAO

public interface INotifyGruHistoryDAO
INotifyGruHistoryDAO
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cleanHistoryContentByDate(Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    clean all histories content who have a creation date before the tMinCreationDate
    void
    deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    delete all notifygrus associated width the history specified in parameter
    void
    deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    delete all notifygrus associated width the task specified in parameter
    int
    getNbHistoryToCleanByDate(Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    get nb histories who have a creation date before the tMinCreationDate
    void
    insert(NotifyGruHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    insert new history notifygru
    load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load a record by primary key
  • Method Details

    • insert

      void insert(NotifyGruHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      insert new history notifygru
      Parameters:
      history - history notifygru
      plugin - the plugin
    • load

      NotifyGruHistory load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load a record by primary key
      Parameters:
      nIdHistory - the action history id
      nIdTask - the task id
      plugin - the plugin
      Returns:
      NotifyGruHistory Object
    • deleteByTask

      void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      delete all notifygrus associated width the task specified in parameter
      Parameters:
      nIdTask - the task id
      plugin - the plugin
    • deleteByHistory

      void deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      delete all notifygrus associated width the history specified in parameter
      Parameters:
      nIdHistory - the history id
      nIdTask - the task id
      plugin - the plugin
    • cleanHistoryContentByDate

      void cleanHistoryContentByDate(Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      clean all histories content who have a creation date before the tMinCreationDate
      Parameters:
      tMinCreationDate - the creation date minimal
      plugin - the plugin
    • getNbHistoryToCleanByDate

      int getNbHistoryToCleanByDate(Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      get nb histories who have a creation date before the tMinCreationDate
      Parameters:
      tMinCreationDate - the history creation date
      plugin - the plugin
      Returns:
      the nb nb histories who have a creation date before the tMinCreationDate