Interface RuleScheduleReservationService
- All Known Implementing Classes:
RuleScheduleReservationServiceImpl
public interface RuleScheduleReservationService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generateReservations
(Entity event, @Nullable org.joda.time.LocalDate startDate, Iterable<Entity> offTimeEvents) generatesReservation
entities based onRule_schedule
andOfftime_event
Reservations are not generated during Offtime_events, but are rather moved forwards to the next valid point in time
-
Method Details
-
generateReservations
void generateReservations(Entity event, @Nullable @Nullable org.joda.time.LocalDate startDate, Iterable<Entity> offTimeEvents) generatesReservation
entities based onRule_schedule
andOfftime_event
Reservations are not generated during Offtime_events, but are rather moved forwards to the next valid point in time- Parameters:
event
- the event to create Reservations forstartDate
- the date to start the Reservations fromoffTimeEvents
- the Offtime_events to consider
-