Package de.xima.fc.appointment
Class AppointmentBookingParams
- java.lang.Object
-
- de.xima.fc.appointment.AppointmentBookingParams
-
- All Implemented Interfaces:
IAppointmentBookingParams
,Serializable
- Direct Known Subclasses:
AppointmentCreateBookingParams
,AppointmentDeleteBookingParams
,AppointmentMoveBookingParams
public abstract class AppointmentBookingParams extends Object implements IAppointmentBookingParams
POJO implementation ofIAppointmentBookingParams
with a builder.- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AppointmentBookingParams.AppointmentSpecifier
protected static class
AppointmentBookingParams.Builder<THIS,TARGET extends IAppointmentBookingParams>
static class
AppointmentBookingParams.SlotIdSpecifier
-
Constructor Summary
Constructors Modifier Constructor Description protected
AppointmentBookingParams(AppointmentBookingParams.Builder<?,? extends IAppointmentBookingParams> builder)
AppointmentBookingParams(IAppointmentSpecifier appointmentSpecifier, com.google.common.collect.ImmutableSet<EAppointmentBookingFlag> bookingFlags, Mandant client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAppointmentSpecifier
getAppointmentSpecifier()
Set<EAppointmentBookingFlag>
getBookingFlags()
Mandant
getClient()
-
-
-
Constructor Detail
-
AppointmentBookingParams
public AppointmentBookingParams(IAppointmentSpecifier appointmentSpecifier, com.google.common.collect.ImmutableSet<EAppointmentBookingFlag> bookingFlags, Mandant client)
-
AppointmentBookingParams
protected AppointmentBookingParams(AppointmentBookingParams.Builder<?,? extends IAppointmentBookingParams> builder)
-
-
Method Detail
-
getAppointmentSpecifier
public IAppointmentSpecifier getAppointmentSpecifier()
- Specified by:
getAppointmentSpecifier
in interfaceIAppointmentBookingParams
- Returns:
- An object that can be used to retrieve the appointment to book, update, or cancel.
-
getBookingFlags
public Set<EAppointmentBookingFlag> getBookingFlags()
- Specified by:
getBookingFlags
in interfaceIAppointmentBookingParams
- Returns:
- A list of flags that affect the validation process.
-
getClient
public Mandant getClient()
- Specified by:
getClient
in interfaceIAppointmentBookingParams
- Returns:
- The current client.
-
-