Interface ISetAppointmentResourceHistoryDAO

All Known Implementing Classes:
SetAppointmentResourceHistoryDAO

public interface ISetAppointmentResourceHistoryDAO
Interface for set appointment resource history
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of the bean of the implementation of the service
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    create(SetAppointmentResourceHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Create a new history
    void
    delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Remove an history from its primary key
    void
    deleteByIdAppointment(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Remove every history associated with a given appointment
    findByIdHistory(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Get the list of history associated with a given history id
    findByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Get an history from its primary key
  • Field Details

  • Method Details

    • create

      void create(SetAppointmentResourceHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Create a new history
      Parameters:
      history - The history to insert into the database
      plugin - The plugin
    • findByPrimaryKey

      SetAppointmentResourceHistory findByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get an history from its primary key
      Parameters:
      nId - The primary key
      plugin - The plugin
      Returns:
      The history
    • findByIdHistory

      List<SetAppointmentResourceHistory> findByIdHistory(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get the list of history associated with a given history id
      Parameters:
      nIdHistory - The history id
      plugin - The plugin
      Returns:
      the list of history, or an empty list if none was found
    • delete

      void delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove an history from its primary key
      Parameters:
      nId - The primary key
      plugin - the plugin
    • deleteByIdAppointment

      void deleteByIdAppointment(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove every history associated with a given appointment
      Parameters:
      nIdAppointment - The id of the appointment
      plugin - the plugin