Package de.xima.fc.appointment
Enum EAppointmentBookingFlag
- All Implemented Interfaces:
Serializable
,Comparable<EAppointmentBookingFlag>
Enumeration with flags for changing the validation process of an
Appointment
.- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAllow an appointment to be booked even after theAppointmentTemplate.getMaximumAdvanceBooking()
time.Allow an appointment to be changed irrespective of its currentIEffectiveAppointmentStatusProviding.getEffectiveStatus()
.Allows an appointment to have a duration different than defined by theAppointmentType.getDuration()
.Allow an appointment even if noAppointmentTemplate.getSlots()
are available anymoreAllows an appointment to have an invalid duration, such as a negative, zero or infinite duration.Allow an appointment to lie outside the grid defined by theAppointmentTemplate
Allow an appointment to lie outside theAppointmentSlot
defined by theAppointmentTemplate
.Allow an appointment to lie within theclosing times
.Allow an appointment to be booked even within the time window normally excluded byAppointmentTemplate.getMinimumBookingNotice()
time. -
Method Summary
Modifier and TypeMethodDescriptionstatic EAppointmentBookingFlag
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.
-
Enum Constant Details
-
ALLOW_AFTER_MAX_ADVANCE_BOOKING
Allow an appointment to be booked even after theAppointmentTemplate.getMaximumAdvanceBooking()
time. -
ALLOW_ALL_STATUS
Allow an appointment to be changed irrespective of its currentIEffectiveAppointmentStatusProviding.getEffectiveStatus()
. -
ALLOW_DISALLOWED_DURATION
Allows an appointment to have a duration different than defined by theAppointmentType.getDuration()
. -
ALLOW_FULL_SLOTS
Allow an appointment even if noAppointmentTemplate.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 theAppointmentTemplate
-
ALLOW_OUTSIDE_SLOTS
Allow an appointment to lie outside theAppointmentSlot
defined by theAppointmentTemplate
. -
ALLOW_WITHIN_CLOSING_TIME
Allow an appointment to lie within theclosing times
. -
ALLOW_WITHIN_MIN_BOOKING_NOTICE
Allow an appointment to be booked even within the time window normally excluded byAppointmentTemplate.getMinimumBookingNotice()
time.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-