Interface IUpdateAdminAppointmentHistoryDAO

All Known Implementing Classes:
UpdateAdminAppointmentHistoryDAO

public interface IUpdateAdminAppointmentHistoryDAO
Interface for update admin appointment history
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    create(UpdateAdminAppointmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Create a new update admin appointment history
    void
    delete(int nIdUpdate, 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 nIdUpdate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Get an update admin appointment history from its primary key
  • Method Details

    • create

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

      UpdateAdminAppointmentHistory findByPrimaryKey(int nIdUpdate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get an update admin appointment history from its primary key
      Parameters:
      nIdUpdate - The id of the history to get
      plugin - The plugin
      Returns:
      The history
    • findByIdHistory

      List<UpdateAdminAppointmentHistory> 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 nIdUpdate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove an history from its primary key
      Parameters:
      nIdUpdate - The id of the history
      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