Context
- Type of the context passed to the methods. Such as an entity manager.public interface IAppointmentValidationAccessObject<Context>
Modifier and Type | Method and Description |
---|---|
List<? extends IAppointmentRangeView> |
count(Context context,
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.
|
List<? extends IAppointmentRangeView> count(Context context, com.google.common.collect.Range<Instant> range, Iterable<Long> excludedAppointmentIds, boolean includePartiallyInRange, boolean includeCanceled)
context
- 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 © 2021 XIMA MEDIA GmbH. All rights reserved.