Interface ISetAppointmentResourceHistoryDAO
- All Known Implementing Classes:
SetAppointmentResourceHistoryDAO
public interface ISetAppointmentResourceHistoryDAO
Interface for set appointment resource history
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(SetAppointmentResourceHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin) Create a new historyvoiddelete(int nId, 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 nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get an history from its primary key
-
Field Details
-
BEAN_NAME
Name of the bean of the implementation of the service- See Also:
-
-
Method Details
-
create
void create(SetAppointmentResourceHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin) Create a new history- Parameters:
history- The history to insert into the databaseplugin- The plugin
-
findByPrimaryKey
SetAppointmentResourceHistory findByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get an history from its primary key- Parameters:
nId- The primary keyplugin- The plugin- Returns:
- The history
-
findByIdHistory
List<SetAppointmentResourceHistory> 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 nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove an history from its primary key- Parameters:
nId- The primary keyplugin- 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
-