Interface IManualAppointmentNotificationHistoryDAO

    • Method Detail

      • create

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

        ManualAppointmentNotificationHistory findByPrimaryKey​(int nIdNotif,
                                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Get a manual appointment notification history from its primary key
        Parameters:
        nIdNotif - The id of the history to get
        plugin - The plugin
        Returns:
        The history
      • findByIdHistory

        java.util.List<ManualAppointmentNotificationHistory> 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 nIdNotif,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove an history from its primary key
        Parameters:
        nIdNotif - 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