Class DaoProviderValidationAcessObject

java.lang.Object
de.xima.fc.appointment.DaoProviderValidationAcessObject
All Implemented Interfaces:
IAppointmentValidationAccessObject<IEntityContext>

public class DaoProviderValidationAcessObject extends Object implements IAppointmentValidationAccessObject<IEntityContext>
Since:
6.5.0
Author:
XIMA MEDIA GmbH
  • Constructor Details

    • DaoProviderValidationAcessObject

      public DaoProviderValidationAcessObject(AppointmentTemplate template)
      Creates a new access object for appointments of a certain AppointmentTemplate.
      Parameters:
      template - Appointment template to which returned appointments are restricted.
  • Method Details

    • count

      public List<? extends IAppointmentRangeView> count(IEntityContext ec, com.google.common.collect.Range<Instant> range, Iterable<Long> excludedAppointmentIds, boolean includePartiallyInRange, boolean includeCanceled)
      Description copied from interface: IAppointmentValidationAccessObject
      Counts the number of appointments in the given range and with the given status. Excludes the given appointments.
      Specified by:
      count in interface IAppointmentValidationAccessObject<IEntityContext>
      Parameters:
      ec - Context for the access object.
      range - Range to consider
      excludedAppointmentIds - Appointments to exclude.
      includePartiallyInRange - Whether to include appointments only partially in the given range.
      includeCanceled - Whether cancelled appointments should be included.
      Returns:
      All appointments with the given parameters.