Class SetAppointmentResourceHistoryHome
java.lang.Object
fr.paris.lutece.plugins.appointment.modules.resource.business.workflow.SetAppointmentResourceHistoryHome
Home for set appointment resource history
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreate(SetAppointmentResourceHistory historyNotif) Create a new historystatic voiddelete(int nId) Remove an history from its primary keystatic voiddeleteByIdAppointment(int nIdAppointment) Remove every history associated with a given appointmentstatic List<SetAppointmentResourceHistory>findByIdHistory(int nIdHistory) Get the list of history associated with a given history idfindByPrimaryKey(int nId) Get an history from its primary key
-
Method Details
-
create
Create a new history- Parameters:
historyNotif- The history to insert into the database
-
findByPrimaryKey
Get an history from its primary key- Parameters:
nId- The primary key- Returns:
- The history
-
findByIdHistory
Get the list of history associated with a given history id- Parameters:
nIdHistory- The history id- Returns:
- the list of history, or an empty list if none was found
-
delete
public static void delete(int nId) Remove an history from its primary key- Parameters:
nId- The primary key
-
deleteByIdAppointment
public static void deleteByIdAppointment(int nIdAppointment) Remove every history associated with a given appointment- Parameters:
nIdAppointment- The id of the appointment
-