Interface IManualAppointmentNotificationHistoryDAO
- All Known Implementing Classes:
ManualAppointmentNotificationHistoryDAO
public interface IManualAppointmentNotificationHistoryDAO
Interface for manual appointment notification history
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(ManualAppointmentNotificationHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin) Create a new manual appointment notification historyvoiddelete(int nIdNotif, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove an history from its primary keyvoiddeleteByIdAppointment(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove every history associated with a given appointmentfindByIdHistory(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the list of history associated with a given history idfindByPrimaryKey(int nIdNotif, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get a manual appointment notification history from its primary key
-
Method Details
-
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 databaseplugin- 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 getplugin- The plugin- Returns:
- The history
-
findByIdHistory
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 idplugin- 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 historyplugin- 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 appointmentplugin- the plugin
-