Package de.xima.fc.appointment
Class DaoProviderIcalQueryAccessObject
java.lang.Object
de.xima.fc.appointment.DaoProviderIcalQueryAccessObject
- All Implemented Interfaces:
IAppointmentIcalQueryAccessObject<IEntityContext>
public class DaoProviderIcalQueryAccessObject
extends Object
implements IAppointmentIcalQueryAccessObject<IEntityContext>
Implementation of
IAppointmentIcalQueryAccessObject
that uses the DaoProvider
s.- Since:
- 6.6.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAppointmentsBy
(IEntityContext ctx, Mandant client, AppointmentTemplate template, com.google.common.collect.Range<Instant> range, boolean includePartiallyInRange) Finds all appointments matching the given criteria.getClientBy
(IEntityContext ctx, UUID uuid) Finds a client by its UUID.getTemplateBy
(IEntityContext ctx, Mandant client, UUID uuid) Finds a template by its client and UUID.
-
Constructor Details
-
DaoProviderIcalQueryAccessObject
public DaoProviderIcalQueryAccessObject()
-
-
Method Details
-
getAppointmentsBy
public List<Appointment> getAppointmentsBy(IEntityContext ctx, Mandant client, AppointmentTemplate template, com.google.common.collect.Range<Instant> range, boolean includePartiallyInRange) Description copied from interface:IAppointmentIcalQueryAccessObject
Finds all appointments matching the given criteria.- Specified by:
getAppointmentsBy
in interfaceIAppointmentIcalQueryAccessObject<IEntityContext>
- Parameters:
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
- Iftrue
, include appointments that only partially overlap the given range.- Returns:
- All appointments matching the given criteria.
-
getClientBy
Description copied from interface:IAppointmentIcalQueryAccessObject
Finds a client by its UUID.- Specified by:
getClientBy
in interfaceIAppointmentIcalQueryAccessObject<IEntityContext>
- Parameters:
ctx
- Context for the access object.uuid
- UUID of the client.- Returns:
- The client with the given UUID, or
null
if no such client exists.
-
getTemplateBy
Description copied from interface:IAppointmentIcalQueryAccessObject
Finds a template by its client and UUID.- Specified by:
getTemplateBy
in interfaceIAppointmentIcalQueryAccessObject<IEntityContext>
- Parameters:
ctx
- Context for the access object.client
- Client of the template.uuid
- UUID of the template.- Returns:
- The template belong to the given client and having the given UUID, or
null
if no such template exists.
-