Class ManualAppointmentNotificationHistoryDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.appointment.business.ManualAppointmentNotificationHistoryDAO
-
- All Implemented Interfaces:
IManualAppointmentNotificationHistoryDAO
public class ManualAppointmentNotificationHistoryDAO extends java.lang.Object implements IManualAppointmentNotificationHistoryDAO
ManualAppointmentNotificationHistoryDAO
-
-
Constructor Summary
Constructors Constructor Description ManualAppointmentNotificationHistoryDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(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 appointmentjava.util.List<ManualAppointmentNotificationHistory>findByIdHistory(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the list of history associated with a given history idManualAppointmentNotificationHistoryfindByPrimaryKey(int nIdNotif, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get a manual appointment notification history from its primary key
-
-
-
Method Detail
-
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 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- 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
-
-