public class DaoProviderValidationAcessObject extends Object implements IAppointmentValidationAccessObject<IEntityContext>
IAppointmentValidationAccessObject that uses the DaoProvider.APPOINTMENT_DAO.| Constructor and Description |
|---|
DaoProviderValidationAcessObject(AppointmentTemplate template)
Creates a new access object for appointments of a certain
AppointmentTemplate. |
| Modifier and Type | Method and Description |
|---|---|
List<? extends IAppointmentRangeView> |
count(IEntityContext ec,
com.google.common.collect.Range<Instant> range,
Iterable<Long> excludedAppointmentIds,
boolean includePartiallyInRange,
boolean includeCanceled)
Counts the number of appointments in the given range and with the given status.
|
public DaoProviderValidationAcessObject(AppointmentTemplate template)
AppointmentTemplate.template - Appointment template to which returned appointments are restricted.public List<? extends IAppointmentRangeView> count(IEntityContext ec, com.google.common.collect.Range<Instant> range, Iterable<Long> excludedAppointmentIds, boolean includePartiallyInRange, boolean includeCanceled)
IAppointmentValidationAccessObjectcount in interface IAppointmentValidationAccessObject<IEntityContext>ec - Context for the access object.range - Range to considerexcludedAppointmentIds - Appointments to exclude.includePartiallyInRange - Whether to include appointments only partially in the given range.includeCanceled - Whether cancelled appointments should be included.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.