All Known Implementing Classes:
ResourceHistoryDAO

public interface IResourceHistoryDAO
IResourceHistoryDAO
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Constant BEAN_SERVICE.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteByHistory(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Remove resourceHistory by history
    void
    deleteByResource(int nIdResource, String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Remove resourceHistory by resource
    getIdHistoryListByResource(int idTicket, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Get the list of id history for a resource(ticket)
    void
    insert(ResourceHistory resourceHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert new record
    load(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load a record by primary key
    loadUnitOld(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load a record by primary key id_history and old unit
  • Field Details

  • Method Details

    • insert

      void insert(ResourceHistory resourceHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert new record
      Parameters:
      resourceHistory - the ResourceHistory Object
      plugin - the plugin
    • load

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

      void deleteByHistory(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove resourceHistory by history
      Parameters:
      nIdHistory - the History id
      plugin - the plugin
    • deleteByResource

      void deleteByResource(int nIdResource, String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove resourceHistory by resource
      Parameters:
      nIdResource - the resource id
      strResourceType - the resource type
      plugin - the plugin
    • loadUnitOld

      ResourceHistory loadUnitOld(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load a record by primary key id_history and old unit
      Parameters:
      nIdHistory - the history id
      plugin - the plugin
      Returns:
      ResourceHistory Object
    • getIdHistoryListByResource

      List<Integer> getIdHistoryListByResource(int idTicket, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get the list of id history for a resource(ticket)
      Parameters:
      idTicket - the ticket id
      plugin - the plugin