public class AppointmentFreeSlotsServletParameter extends AServletParameter implements Serializable
AppointmentFreeSlotsServlet.| Modifier and Type | Method and Description | 
|---|---|
UUID | 
getAppointmentTemplateUuid()  | 
Month | 
getMonth()  | 
int | 
getYear()  | 
ZoneId | 
getZoneId()  | 
boolean | 
isIncludePastAppointments()  | 
static AppointmentFreeSlotsServletParameter | 
parse(javax.servlet.http.HttpServletRequest request)
Given an HTTP request of an appointment free slot servlet, parses and validates the parameters. 
 | 
IAppointmentFreeSlotQueryParams | 
toQueryParams(long clientId)
Converts these servlet parameters to the appropriate parameters required by the free slot query API. 
 | 
String | 
toString()  | 
getBoolean, getBoolean, getInteger, getInteger, getLocalDateTime, getLocalDateTime, getLocale, getLong, getLong, getPathPart, getUuid, getUuid, getZoneId, toBoolean, toInteger, toLocalDateTime, toLocale, toLong, toUuid, toZoneIdpublic UUID getAppointmentTemplateUuid()
public Month getMonth()
public int getYear()
public boolean isIncludePastAppointments()
public ZoneId getZoneId()
public IAppointmentFreeSlotQueryParams toQueryParams(long clientId)
clientId - ID of the current client.public String toString()
toString in class AServletParameterpublic static AppointmentFreeSlotsServletParameter parse(javax.servlet.http.HttpServletRequest request) throws IOException
request - The HTTP request to the appointment free slot servlet.IOException - When the request data could not be read.IllegalArgumentException - When the parameters are invalid.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.