public enum EAppointmentBookingError extends Enum<EAppointmentBookingError> implements INamedUiElement
Enum Constant and Description |
---|
APPOINTMENT_ALREADY_CANCELED
The action could not be performed because the appointment was already canceled.
|
APPOINTMENT_ALREADY_CREATED
The appointment cannot be created (booked) because it exists already.
|
APPOINTMENT_DOES_NOT_EXIST
The appointment cannot be moved or cancelled because it is not persisted.
|
APPOINTMENT_NOT_FOUND
The appointment could not be found via the given UUID.
|
DATABASE_ERROR
A general database error did occur.
|
DISALLOWED_DURATION
The action could not be performed because the appointment's duration is not valid, i.e. because it is different
than the duration defined by the appointment type.
|
GENERAL
An unexpected error occured that cannot be classified any further.
|
INVALID_DURATION
The action could not be performed because the appointment's duration is not valid. i.e. because the duration is
infinite, zero, or negative.
|
MAXIMUM_ADVANCE_BOOKING_EXCEEDED
The appointment cannot be booked or moved because it lies after the maximum allowed advance booking (prebook)
duration..
|
MINIMUM_BOOKING_NOTICE_EXCEEDED
The appointment cannot be booked or moved because it lies too close to the current server time.
|
NO_APPOINTMENT_GIVEN
No appointment (UUID) was specified.
|
NO_FREE_SLOT_AVAILABLE
The appointment cannot be booked or moved because no more free slots are available at the desired date.
|
OUTSIDE_GRID
The appointment cannot be booked or moved because it lies outside the grid defined by the template.
|
OUTSIDE_SLOTS
The appointment cannot be booked or moved because it lies outside the normal opening hours.
|
WITHIN_CLOSING_TIME
The appointment cannot be booked or moved because it lies within the pre-defined closing times.
|
ATTR_DISPLAY_NAME
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName(Locale locale) |
static EAppointmentBookingError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EAppointmentBookingError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EAppointmentBookingError APPOINTMENT_ALREADY_CANCELED
public static final EAppointmentBookingError APPOINTMENT_ALREADY_CREATED
public static final EAppointmentBookingError APPOINTMENT_DOES_NOT_EXIST
public static final EAppointmentBookingError APPOINTMENT_NOT_FOUND
public static final EAppointmentBookingError DATABASE_ERROR
public static final EAppointmentBookingError DISALLOWED_DURATION
public static final EAppointmentBookingError GENERAL
public static final EAppointmentBookingError INVALID_DURATION
public static final EAppointmentBookingError MAXIMUM_ADVANCE_BOOKING_EXCEEDED
public static final EAppointmentBookingError MINIMUM_BOOKING_NOTICE_EXCEEDED
public static final EAppointmentBookingError NO_APPOINTMENT_GIVEN
public static final EAppointmentBookingError NO_FREE_SLOT_AVAILABLE
public static final EAppointmentBookingError OUTSIDE_GRID
public static final EAppointmentBookingError OUTSIDE_SLOTS
public static final EAppointmentBookingError WITHIN_CLOSING_TIME
public static EAppointmentBookingError[] values()
for (EAppointmentBookingError c : EAppointmentBookingError.values()) System.out.println(c);
public static EAppointmentBookingError 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 nullpublic String getDisplayName(Locale locale)
getDisplayName
in interface INamedUiElement
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.