Package de.xima.fc.appointment
Enum EAppointmentBookingError
- All Implemented Interfaces:
INamedUiElement
,Serializable
,Comparable<EAppointmentBookingError>
public enum EAppointmentBookingError
extends Enum<EAppointmentBookingError>
implements INamedUiElement
An enumeration of the possible errors that may occur when booking an appointment.
- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe action could not be performed because the appointment was already canceled.The appointment cannot be created (booked) because it exists already.The appointment cannot be moved or cancelled because it is not persisted.The appointment could not be found via the given UUID.A general database error did occur.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.An unexpected error occured that cannot be classified any further.The action could not be performed because the appointment's duration is not valid. i.e. because the duration is infinite, zero, or negative.The appointment cannot be booked or moved because it lies after the maximum allowed advance booking (prebook) duration..The appointment cannot be booked or moved because it lies too close to the current server time.No appointment (UUID) was specified.The appointment cannot be booked or moved because no more free slots are available at the desired date.The appointment cannot be booked or moved because it lies outside the grid defined by the template.The appointment cannot be booked or moved because it lies outside the normal opening hours.The appointment cannot be booked or moved because it lies within the pre-defined closing times. -
Field Summary
Fields inherited from interface de.xima.fc.interfaces.INamedUiElement
ATTR_DISPLAY_NAME
-
Method Summary
Modifier and TypeMethodDescriptiongetDisplayName
(Locale locale) static EAppointmentBookingError
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.
-
Enum Constant Details
-
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.
-
-
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
-
getI18nKey
-
getDisplayName
- Specified by:
getDisplayName
in interfaceINamedUiElement
- Returns:
- Wert, der das entsprechende Objekt an Oberfläche repräsentiert (wird i.A. zur Laufzeit ermittelt).
-