public final class AppointmentConverter extends AppointmentSlotIdConverter
| Modifier and Type | Method and Description |
|---|---|
static Appointment |
idToAppointment(String id,
AppointmentTemplate template,
AppointmentType type,
Vorgang formRecord)
Creates a new appointment for the given slot ID and fills it with the given data.
|
static String |
slotToId(ExtendedAppointmentFreeSlot slot) |
appointmentToId, dateTimeToId, idToInstant, idToInstantNull, instantToId, isValidSlotIdpublic static Appointment idToAppointment(String id, AppointmentTemplate template, AppointmentType type, Vorgang formRecord) throws IllegalArgumentException, NullPointerException
id - Slot ID indicating the time of the new appointment.template - Template to which the slot should belong.type - Appointment type to which the slot should belong.formRecord - The form record that should be set on the new appointment.IllegalArgumentException - When any of the parameters is invalid.NullPointerException - When any of the parameters is null.public static String slotToId(ExtendedAppointmentFreeSlot slot)
slot - Slot for which to create the ID.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.