public enum EAppointmentBookingFlag extends Enum<EAppointmentBookingFlag>
Appointment.AppointmentValidateParams| Enum Constant and Description |
|---|
ALLOW_AFTER_MAX_ADVANCE_BOOKING
Allow an appointment to be booked even after the
AppointmentTemplate.getMaximumAdvanceBooking() time. |
ALLOW_ALL_STATUS
Allow an appointment to be changed irrespective of its current
IEffectiveAppointmentStatusProviding.getEffectiveStatus(). |
ALLOW_DISALLOWED_DURATION
Allows an appointment to have a duration different than defined by the
AppointmentType.getDuration(). |
ALLOW_FULL_SLOTS
Allow an appointment even if no
AppointmentTemplate.getSlots() are available anymore |
ALLOW_INVALID_DURATION
Allows an appointment to have an invalid duration, such as a negative, zero or infinite duration.
|
ALLOW_OUTSIDE_GRID
Allow an appointment to lie outside the grid defined by the
AppointmentTemplate |
ALLOW_OUTSIDE_SLOTS
Allow an appointment to lie outside the
AppointmentSlot defined by the AppointmentTemplate. |
ALLOW_WITHIN_CLOSING_TIME
Allow an appointment to lie within the
AppointmentTemplate.getClosingTimes(). |
ALLOW_WITHIN_MIN_BOOKING_NOTICE
Allow an appointment to be booked even within the time window normally excluded by
AppointmentTemplate.getMinimumBookingNotice() time. |
| Modifier and Type | Method and Description |
|---|---|
static EAppointmentBookingFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EAppointmentBookingFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EAppointmentBookingFlag ALLOW_AFTER_MAX_ADVANCE_BOOKING
AppointmentTemplate.getMaximumAdvanceBooking() time.public static final EAppointmentBookingFlag ALLOW_ALL_STATUS
IEffectiveAppointmentStatusProviding.getEffectiveStatus().public static final EAppointmentBookingFlag ALLOW_DISALLOWED_DURATION
AppointmentType.getDuration().public static final EAppointmentBookingFlag ALLOW_FULL_SLOTS
AppointmentTemplate.getSlots() are available anymorepublic static final EAppointmentBookingFlag ALLOW_INVALID_DURATION
public static final EAppointmentBookingFlag ALLOW_OUTSIDE_GRID
AppointmentTemplatepublic static final EAppointmentBookingFlag ALLOW_OUTSIDE_SLOTS
AppointmentSlot defined by the AppointmentTemplate.public static final EAppointmentBookingFlag ALLOW_WITHIN_CLOSING_TIME
AppointmentTemplate.getClosingTimes().public static final EAppointmentBookingFlag ALLOW_WITHIN_MIN_BOOKING_NOTICE
AppointmentTemplate.getMinimumBookingNotice() time.public static EAppointmentBookingFlag[] values()
for (EAppointmentBookingFlag c : EAppointmentBookingFlag.values()) System.out.println(c);
public static EAppointmentBookingFlag valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 XIMA MEDIA GmbH. All rights reserved.