Interface INotifyGruHistoryService

All Known Implementing Classes:
NotifyGruHistoryService

public interface INotifyGruHistoryService
INotifyGruHistoryService
  • 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
    create(NotifyGruHistory notifyGru, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Creation of an instance of Notify GRU
    findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the Notify GRU Object
    int
    getNbHistoryToCleanByDate(Timestamp tMinCreationDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    get nb histories who have a creation date before the tMinCreationDate
    void
    removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Remove Notify GRU value by history
    void
    removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Remove Notify GRU value by task
  • Method Details

    • create

      void create(NotifyGruHistory notifyGru, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Creation of an instance of Notify GRU
      Parameters:
      notifyGru - The instance of comment value which contains the informations to store
      plugin - the plugin
    • removeByHistory

      void removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove Notify GRU value by history
      Parameters:
      nIdHistory - the history key
      nIdTask - The task key
      plugin - the Plugin
    • removeByTask

      void removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove Notify GRU value by task
      Parameters:
      nIdTask - The task key
      plugin - the Plugin
    • findByPrimaryKey

      NotifyGruHistory findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the Notify GRU Object
      Parameters:
      nIdHistory - the history id
      nIdTask - the task id
      plugin - the plugin
      Returns:
      the Config Object
    • 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