public final class AppointmentHome extends Object
Modifier and Type | Method and Description |
---|---|
static Appointment |
create(Appointment appointment)
Create an instance of the Appointment class
|
static void |
delete(int nKey)
Delete the Appointment whose identifier is specified in parameter
|
static List<Appointment> |
findByFilter(AppointmentFilterDTO appointmentFilter)
Returns a list of appointment matching the filter
|
static List<Appointment> |
findByIdForm(int nIdForm)
Return a list of appointment of a form
|
static List<Appointment> |
findByIdSlot(int nIdSlot)
Return the appointments of a slot
|
static List<Appointment> |
findByIdUser(int nIdUser)
Return the appointments of a user
|
static Appointment |
findByPrimaryKey(int nKey)
Return an instance of the Appointment whose identifier is specified in parameter
|
static Appointment |
findByReference(String strReference)
Return an instance of the Appointment whose reference is specified in parameter
|
static Appointment |
update(Appointment appointment)
Update of the Appointment which is specified in parameter
|
public static Appointment create(Appointment appointment)
appointment
- The instance of the Appointment which contains the informations to storepublic static Appointment update(Appointment appointment)
appointment
- The instance of the Appointment which contains the data to storepublic static void delete(int nKey)
nKey
- The appointment Idpublic static Appointment findByPrimaryKey(int nKey)
nKey
- The Appointment primary keypublic static Appointment findByReference(String strReference)
strReference
- The Appointment referencepublic static List<Appointment> findByIdUser(int nIdUser)
nIdUser
- the User Idpublic static List<Appointment> findByIdSlot(int nIdSlot)
nIdSlot
- public static List<Appointment> findByIdForm(int nIdForm)
nIdForm
- the form idpublic static List<Appointment> findByFilter(AppointmentFilterDTO appointmentFilter)
appointmentFilter
- the filterCopyright © 2020 City of Paris. All rights reserved.