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 ofIAppointmentIcalQueryAccessObjectthat uses theDaoProviders.- 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.MandantgetClientBy(IEntityContext ctx, UUID uuid)Finds a client by its UUID.AppointmentTemplategetTemplateBy(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: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
public Mandant getClientBy(IEntityContext ctx, UUID uuid)
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
public AppointmentTemplate getTemplateBy(IEntityContext ctx, Mandant client, UUID uuid)
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. 
 
 - 
 
 -