Class UpdateAdminAppointmentHistoryDAO

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 nIdNotif, 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
      java.util.List<UpdateAdminAppointmentHistory> findByIdHistory​(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get the list of history associated with a given history id
      UpdateAdminAppointmentHistory findByPrimaryKey​(int nIdNotif, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get an update admin appointment history from its primary key
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UpdateAdminAppointmentHistoryDAO

        public UpdateAdminAppointmentHistoryDAO()
    • Method Detail

      • delete

        public void delete​(int nIdNotif,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove an history from its primary key
        Specified by:
        delete in interface IUpdateAdminAppointmentHistoryDAO
        Parameters:
        nIdNotif - The id of the history
        plugin - the plugin
      • findByIdHistory

        public java.util.List<UpdateAdminAppointmentHistory> findByIdHistory​(int nIdHistory,
                                                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Get the list of history associated with a given history id
        Specified by:
        findByIdHistory in interface IUpdateAdminAppointmentHistoryDAO
        Parameters:
        nIdHistory - The history id
        plugin - The plugin
        Returns:
        the list of history, or an empty list if none was found
      • deleteByIdAppointment

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