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> |
findByGuidUser(String strGuidUser)
Return the appointments of a user by Guid
|
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 List<Appointment> |
findByListIdSlot(List<Integer> listIdSlot)
Returns the list of appointments of a slot
|
static List<Appointment> |
findByMailAndCategory(int nIdCategory,
String mail)
Find a list of appointments by id category and mail
|
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 List<Integer> |
selectAllAppointmentId()
returns a list of all appointment ids.
|
static Appointment |
update(Appointment appointment)
Update of the Appointment which is specified in parameter
|
static void |
updateAppointmentDate(Appointment appointment)
Update date appointment, update AppointmentSlot
|
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 updateAppointmentDate(Appointment appointment)
appointment - the appointmentplugin - the pluginpublic 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> findByGuidUser(String strGuidUser)
nIdUser - the User Guidpublic static List<Appointment> findByIdSlot(int nIdSlot)
nIdSlot - public static List<Appointment> findByListIdSlot(List<Integer> listIdSlot)
listIdSlot - the list Slot Idplugin - the pluginpublic static List<Appointment> findByIdForm(int nIdForm)
nIdForm - the form idpublic static List<Appointment> findByFilter(AppointmentFilterDTO appointmentFilter)
appointmentFilter - the filterpublic static List<Appointment> findByMailAndCategory(int nIdCategory, String mail)
nIdCategory - the id categorymail - the mailCopyright © 2021 City of Paris. All rights reserved.