Interface CreateScheduleActionService
- All Known Implementing Classes:
CreateScheduleActionServiceImpl
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.checks that the selected Events have a Rule_schedule relatedvoidgenerateReservations(EntityExplorerActionSelection selection, CreateScheduleActionService.RuleScheduleData data) Deprecated.calculates start date from given date and and Events and gathersOfftime_eventto pass them toRuleScheduleReservationService.generateReservations(Entity, LocalDate, Iterable)start date is calculated from the latest date of: -CreateScheduleActionService.RuleScheduleData.getStartDate()- thedate_fromof the firstReservationfrom eachCreateScheduleActionService.RuleScheduleData.getStartEventKeys()- thedate_rillof the lastReservationfrom eachCreateScheduleActionService.RuleScheduleData.getEndEventKeys()Offtime_events are gathered fromCreateScheduleActionService.RuleScheduleData.getCalendarKeys()and the relatedRule_scheduleevent
-
Method Details
-
checkIfRuleScheduleExists
Deprecated.checks that the selected Events have a Rule_schedule related- Parameters:
selection- the selected events
-
generateReservations
void generateReservations(EntityExplorerActionSelection selection, CreateScheduleActionService.RuleScheduleData data) Deprecated.calculates start date from given date and and Events and gathersOfftime_eventto pass them toRuleScheduleReservationService.generateReservations(Entity, LocalDate, Iterable)start date is calculated from the latest date of: -CreateScheduleActionService.RuleScheduleData.getStartDate()- thedate_fromof the firstReservationfrom eachCreateScheduleActionService.RuleScheduleData.getStartEventKeys()- thedate_rillof the lastReservationfrom eachCreateScheduleActionService.RuleScheduleData.getEndEventKeys()Offtime_events are gathered fromCreateScheduleActionService.RuleScheduleData.getCalendarKeys()and the relatedRule_scheduleevent- Parameters:
selection- the selected Eventsdata- the bean containing start date, event keys and calendars
-