Context
- Type of the context passed to the methods. Such as an entity manager.public interface IAppointmentIcalQueryAccessObject<Context>
Modifier and Type | Method and Description |
---|---|
List<Appointment> |
getAppointmentsBy(Context context,
Mandant client,
AppointmentTemplate template,
com.google.common.collect.Range<Instant> range,
boolean includePartiallyInRange)
Finds all appointments matching the given criteria.
|
Mandant |
getClientBy(Context context,
UUID uuid)
Finds a client by its UUID.
|
AppointmentTemplate |
getTemplateBy(Context context,
Mandant client,
UUID uuid)
Finds a template by its client and UUID.
|
List<Appointment> getAppointmentsBy(Context context, Mandant client, AppointmentTemplate template, com.google.common.collect.Range<Instant> range, boolean includePartiallyInRange)
context
- 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.Mandant getClientBy(Context context, UUID uuid)
context
- Context for the access object.uuid
- UUID of the client.null
if no such client exists.AppointmentTemplate getTemplateBy(Context context, Mandant client, UUID uuid)
context
- Context for the access object.uuid
- UUID of the template.client
- Client of the template.null
if no such template
exists.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.