Class UpdateAdminAppointmentHistoryDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.appointment.business.UpdateAdminAppointmentHistoryDAO
-
- All Implemented Interfaces:
IUpdateAdminAppointmentHistoryDAO
public class UpdateAdminAppointmentHistoryDAO extends Object implements IUpdateAdminAppointmentHistoryDAO
DAO to manage history of update admin appointment tasks
-
-
Constructor Summary
Constructors Constructor Description UpdateAdminAppointmentHistoryDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(UpdateAdminAppointmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)Create a new update admin appointment 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 appointmentList<UpdateAdminAppointmentHistory>findByIdHistory(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the list of history associated with a given history idUpdateAdminAppointmentHistoryfindByPrimaryKey(int nIdNotif, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get an update admin appointment history from its primary key
-
-
-
Method Detail
-
create
public void create(UpdateAdminAppointmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create a new update admin appointment history- Specified by:
createin interfaceIUpdateAdminAppointmentHistoryDAO- Parameters:
history- The history to insert into the databaseplugin- The plugin
-
findByPrimaryKey
public UpdateAdminAppointmentHistory findByPrimaryKey(int nIdNotif, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get an update admin appointment history from its primary key- Specified by:
findByPrimaryKeyin interfaceIUpdateAdminAppointmentHistoryDAO- 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 interfaceIUpdateAdminAppointmentHistoryDAO- Parameters:
nIdNotif- The id of the historyplugin- the plugin
-
findByIdHistory
public List<UpdateAdminAppointmentHistory> 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 interfaceIUpdateAdminAppointmentHistoryDAO- 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 interfaceIUpdateAdminAppointmentHistoryDAO- Parameters:
nIdAppointment- The id of the appointmentplugin- the plugin
-
-