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 ofIAppointmentIcalQueryAccessObject
that uses theDaoProvider
s.- Since:
- 6.6.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description DaoProviderIcalQueryAccessObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
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
public Mandant getClientBy(IEntityContext ctx, UUID uuid)
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
public AppointmentTemplate getTemplateBy(IEntityContext ctx, Mandant client, UUID uuid)
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.
-
-