public class DaoProviderIcalQueryAccessObject extends Object implements IAppointmentIcalQueryAccessObject<IEntityContext>
IAppointmentIcalQueryAccessObject
that uses the DaoProvider
s.Constructor and Description |
---|
DaoProviderIcalQueryAccessObject() |
Modifier and Type | Method and Description |
---|---|
List<Appointment> |
getAppointmentsBy(IEntityContext ctx,
Mandant client,
AppointmentTemplate template,
com.google.common.collect.Range<Instant> range,
boolean includePartiallyInRange)
Finds all appointments matching the given criteria.
|
Mandant |
getClientBy(IEntityContext ctx,
UUID uuid)
Finds a client by its UUID.
|
AppointmentTemplate |
getTemplateBy(IEntityContext ctx,
Mandant client,
UUID uuid)
Finds a template by its client and UUID.
|
public List<Appointment> getAppointmentsBy(IEntityContext ctx, Mandant client, AppointmentTemplate template, com.google.common.collect.Range<Instant> range, boolean includePartiallyInRange)
IAppointmentIcalQueryAccessObject
getAppointmentsBy
in interface IAppointmentIcalQueryAccessObject<IEntityContext>
ctx
- Context for the access object.client
- The client to which to limit the returned appointments.template
- Template to which to limit the returned appointments.range
- Temporal range to which to limit the returned appointments.includePartiallyInRange
- If true
, include appointments that only partially overlap the given range.public Mandant getClientBy(IEntityContext ctx, UUID uuid)
IAppointmentIcalQueryAccessObject
getClientBy
in interface IAppointmentIcalQueryAccessObject<IEntityContext>
ctx
- Context for the access object.uuid
- UUID of the client.null
if no such client exists.public AppointmentTemplate getTemplateBy(IEntityContext ctx, Mandant client, UUID uuid)
IAppointmentIcalQueryAccessObject
getTemplateBy
in interface IAppointmentIcalQueryAccessObject<IEntityContext>
ctx
- Context for the access object.client
- Client of the template.uuid
- UUID of the template.null
if no such template
exists.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.