public class AppointmentQueryParams extends Object implements IAppointmentQueryParams
IAppointmentQueryParams
.Modifier and Type | Class and Description |
---|---|
static class |
AppointmentQueryParams.Builder
A builder for
IAppointmentQueryParams . |
Modifier and Type | Method and Description |
---|---|
static AppointmentQueryParams.Builder |
builder() |
static AppointmentQueryParams.Builder |
builder(Mandant client) |
static AppointmentQueryParams.Builder |
builder(Vorgang formRecord) |
Iterable<AppointmentTemplate> |
getAppointmentTemplates() |
Mandant |
getClient() |
Iterable<Long> |
getExcludedAppointmentIds() |
Iterable<Vorgang> |
getFormRecords() |
com.google.common.collect.Range<Instant> |
getRange() |
Iterable<de.xima.cmn.criteria.SelectCriterion> |
getSelectCriteria()
Applies only when used for a select attribute query.
|
Iterable<EAppointmentStatus> |
getStatus() |
boolean |
isIncludePartiallyInRange() |
boolean |
isInitFormRecord() |
public Iterable<AppointmentTemplate> getAppointmentTemplates()
getAppointmentTemplates
in interface IAppointmentQueryParams
null
or empty, no
restriction is applied.public Mandant getClient()
getClient
in interface IAppointmentQueryParams
public Iterable<Long> getExcludedAppointmentIds()
getExcludedAppointmentIds
in interface IAppointmentQueryParams
null
or empty, no restriction is applied.public Iterable<Vorgang> getFormRecords()
getFormRecords
in interface IAppointmentQueryParams
null
or empty, no
restriction is applied.public com.google.common.collect.Range<Instant> getRange()
getRange
in interface IAppointmentQueryParams
public Iterable<de.xima.cmn.criteria.SelectCriterion> getSelectCriteria()
IAppointmentQueryParams
getSelectCriteria
in interface IAppointmentQueryParams
public Iterable<EAppointmentStatus> getStatus()
getStatus
in interface IAppointmentQueryParams
null
or empty, no restriction is applied.public boolean isIncludePartiallyInRange()
isIncludePartiallyInRange
in interface IAppointmentQueryParams
IAppointmentQueryParams.getRange()
is set. If false
, only appointments that fall completely within
the given range are included in the result. Otherwise, appointments that only overlap partially are included as
well.public static AppointmentQueryParams.Builder builder()
public static AppointmentQueryParams.Builder builder(Mandant client)
client
- The client to which to restrict the appointments.public static AppointmentQueryParams.Builder builder(Vorgang formRecord)
formRecord
- The form record to which to restrict the appointments.public boolean isInitFormRecord()
isInitFormRecord
in interface IAppointmentQueryParams
true
to load the form
record (@code Appointment.getFormRecord()
) eagerly, false
to load it lazily. Defaults to
false
.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.