Class ManualAppointmentNotificationHistoryDAO
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.appointment.business.ManualAppointmentNotificationHistoryDAO
- All Implemented Interfaces:
IManualAppointmentNotificationHistoryDAO
public class ManualAppointmentNotificationHistoryDAO
extends Object
implements IManualAppointmentNotificationHistoryDAO
ManualAppointmentNotificationHistoryDAO
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
ManualAppointmentNotificationHistoryDAO
public ManualAppointmentNotificationHistoryDAO()
-
-
Method Details
-
create
public void create(ManualAppointmentNotificationHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin) Create a new manual appointment notification history- Specified by:
createin interfaceIManualAppointmentNotificationHistoryDAO- Parameters:
history- The history to insert into the databaseplugin- The plugin
-
findByPrimaryKey
public ManualAppointmentNotificationHistory findByPrimaryKey(int nIdNotif, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get a manual appointment notification history from its primary key- Specified by:
findByPrimaryKeyin interfaceIManualAppointmentNotificationHistoryDAO- Parameters:
nIdNotif- The id of the history to getplugin- The plugin- Returns:
- The history
-
delete
public void delete(int nIdNotif, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove an history from its primary key- Specified by:
deletein interfaceIManualAppointmentNotificationHistoryDAO- Parameters:
nIdNotif- The id of the historyplugin- the plugin
-
findByIdHistory
public List<ManualAppointmentNotificationHistory> findByIdHistory(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the list of history associated with a given history id- Specified by:
findByIdHistoryin interfaceIManualAppointmentNotificationHistoryDAO- Parameters:
nIdHistory- The history idplugin- 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:
deleteByIdAppointmentin interfaceIManualAppointmentNotificationHistoryDAO- Parameters:
nIdAppointment- The id of the appointmentplugin- the plugin
-