Package de.xima.fc.appointment
Class AppointmentQueryParams
java.lang.Object
de.xima.fc.appointment.AppointmentQueryParams
- All Implemented Interfaces:
IAppointmentQueryParams
,Serializable
POJO implementation with builder for
IAppointmentQueryParams
.- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getAppointmentTemplates
- Specified by:
getAppointmentTemplates
in interfaceIAppointmentQueryParams
- Returns:
- A list of appointment templates to which the appointments must belong. If
null
or empty, no restriction is applied.
-
getClient
- Specified by:
getClient
in interfaceIAppointmentQueryParams
- Returns:
- The client to which the appointments must belong.
-
getExcludedAppointmentIds
- Specified by:
getExcludedAppointmentIds
in interfaceIAppointmentQueryParams
- Returns:
- A list of appointments IDs to exclude in the result. If
null
or empty, no restriction is applied.
-
getFormRecords
- Specified by:
getFormRecords
in interfaceIAppointmentQueryParams
- Returns:
- A list form records to which the returned appointments must belong. If
null
or empty, no restriction is applied.
-
getRange
- Specified by:
getRange
in interfaceIAppointmentQueryParams
- Returns:
- The time range of appointments to include. Appointments outside this range are excluded in the result.
-
getSelectCriteria
Description copied from interface:IAppointmentQueryParams
Applies only when used for a select attribute query.- Specified by:
getSelectCriteria
in interfaceIAppointmentQueryParams
- Returns:
- A list of fields (columns) to include in the result.
-
getStatus
- Specified by:
getStatus
in interfaceIAppointmentQueryParams
- Returns:
- A list of status the appointments must have. If
null
or empty, no restriction is applied.
-
isIncludePartiallyInRange
public boolean isIncludePartiallyInRange()- Specified by:
isIncludePartiallyInRange
in interfaceIAppointmentQueryParams
- Returns:
- Applies only if
IAppointmentQueryParams.getRange()
is set. Iffalse
, only appointments that fall completely within the given range are included in the result. Otherwise, appointments that only overlap partially are included as well.
-
builder
- Returns:
- A new, empty builder.
-
builder
- Parameters:
client
- The client to which to restrict the appointments.- Returns:
- A builder for query params for appointments with the given client.
-
builder
- Parameters:
formRecord
- The form record to which to restrict the appointments.- Returns:
- A builder for query params for appointments with the given form record.
-
isInitFormRecord
public boolean isInitFormRecord()- Specified by:
isInitFormRecord
in interfaceIAppointmentQueryParams
- Returns:
- Applies only when loading data via the API provider (ignored otherwise).
true
to load the form record (@codeAppointment.getFormRecord()
) eagerly,false
to load it lazily. Defaults tofalse
.
-