Interface IAppointmentFreeSlotQueryParams
-
- All Superinterfaces:
Serializable
public interface IAppointmentFreeSlotQueryParams extends Serializable
The parameters for a query that retrieves the available times of aAppointmentTemplate
. Used by the appointment widget in the form: it sends a query to the appointment servlet.- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UUID
getAppointmentTemplateUUID()
long
getClientId()
com.google.common.collect.Range<LocalDateTime>
getRange()
ZoneId
getZoneId()
boolean
isIncludePastAppointments()
-
-
-
Method Detail
-
getAppointmentTemplateUUID
UUID getAppointmentTemplateUUID()
- Returns:
- The appointment template for which to find the free slots.
-
getClientId
long getClientId()
- Returns:
- The ID of the client to which to limit the search.
-
getRange
com.google.common.collect.Range<LocalDateTime> getRange()
- Returns:
- The temporal range where to find the free slots.
-
getZoneId
@Nullable ZoneId getZoneId()
- Returns:
- The time zone of the given
getRange()
, and also the zime zone in which the free slots are returned. May benull
, in which case the default time zone of theAppointmentTemplate
is used.
-
isIncludePastAppointments
boolean isIncludePastAppointments()
- Returns:
- If
true
, includes all appointments in the given month, even if they lie in the past.
-
-