Interface IRecapDAO

All Known Implementing Classes:
RecapDAO

public interface IRecapDAO
IRecapDAO Interface
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nIdRecap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    int
    insert(Recap recap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table.
    load(int nIdRecap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of the recap from the table
    void
    store(Recap recap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the recap in the table
  • Method Details

    • insert

      int insert(Recap recap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Parameters:
      recap - instance of the Recap object to insert
      plugin - the plugin
      Returns:
      the id of the new recap
    • store

      void store(Recap recap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the recap in the table
      Parameters:
      recap - instance of the Recap object to update
      plugin - the plugin
    • delete

      void delete(int nIdRecap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      Parameters:
      nIdRecap - The identifier of the recap
      plugin - the plugin
    • load

      Recap load(int nIdRecap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of the recap from the table
      Parameters:
      nIdRecap - The identifier of the recap
      plugin - the plugin
      Returns:
      the instance of the Recap