public class SetAppointmentResourceHistoryDAO extends Object implements ISetAppointmentResourceHistoryDAO
BEAN_NAME
Constructor and Description |
---|
SetAppointmentResourceHistoryDAO() |
Modifier and Type | Method and Description |
---|---|
void |
create(SetAppointmentResourceHistory history,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create a new 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
|
List<SetAppointmentResourceHistory> |
findByIdHistory(int nIdHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of history associated with a given history id
|
SetAppointmentResourceHistory |
findByPrimaryKey(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get an history from its primary key
|
public void create(SetAppointmentResourceHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
create
in interface ISetAppointmentResourceHistoryDAO
history
- The history to insert into the databaseplugin
- The pluginpublic SetAppointmentResourceHistory findByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByPrimaryKey
in interface ISetAppointmentResourceHistoryDAO
nId
- The primary keyplugin
- The pluginpublic void delete(int nIdNotif, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface ISetAppointmentResourceHistoryDAO
nIdNotif
- The primary keyplugin
- the pluginpublic List<SetAppointmentResourceHistory> findByIdHistory(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByIdHistory
in interface ISetAppointmentResourceHistoryDAO
nIdHistory
- The history idplugin
- The pluginpublic void deleteByIdAppointment(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByIdAppointment
in interface ISetAppointmentResourceHistoryDAO
nIdAppointment
- The id of the appointmentplugin
- the pluginCopyright © 2019 City of Paris. All rights reserved.