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 DaoProviders.- 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:IAppointmentIcalQueryAccessObjectFinds all appointments matching the given criteria.- Specified by:
getAppointmentsByin 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:IAppointmentIcalQueryAccessObjectFinds a client by its UUID.- Specified by:
getClientByin interfaceIAppointmentIcalQueryAccessObject<IEntityContext>- Parameters:
ctx- Context for the access object.uuid- UUID of the client.- Returns:
- The client with the given UUID, or
nullif no such client exists.
-
getTemplateBy
Description copied from interface:IAppointmentIcalQueryAccessObjectFinds a template by its client and UUID.- Specified by:
getTemplateByin 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
nullif no such template exists.
-