Class ConnectReservationsByLogicActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.educationschedule.impl.actions.connect.ConnectReservationsByLogicActionServiceImpl
- All Implemented Interfaces:
ConnectReservationsByLogicActionService
public class ConnectReservationsByLogicActionServiceImpl
extends Object
implements ConnectReservationsByLogicActionService
-
Constructor Summary
ConstructorDescriptionConnectReservationsByLogicActionServiceImpl
(OverrideContributionService contributionService, EntityExplorerActionSelectionService selectionService, Context context, ClientQuestionService questionService, QueryBuilderFactory queryBuilderFactory, TextResources textResources) -
Method Summary
Modifier and TypeMethodDescriptionvoid
runs some logic against the list of selected Educational_objectives and all Reservations that are connected to their Events usesDefaultConnectLogic
by default.void
setConnectionLogic
(List<EducationalObjectiveConnectionContribution> logicContributions)
-
Constructor Details
-
ConnectReservationsByLogicActionServiceImpl
public ConnectReservationsByLogicActionServiceImpl(OverrideContributionService contributionService, EntityExplorerActionSelectionService selectionService, Context context, ClientQuestionService questionService, QueryBuilderFactory queryBuilderFactory, TextResources textResources)
-
-
Method Details
-
connectEducationObjectivesAndReservations
public void connectEducationObjectivesAndReservations(EntityExplorerActionSelection selection) throws InterruptedException Description copied from interface:ConnectReservationsByLogicActionService
runs some logic against the list of selected Educational_objectives and all Reservations that are connected to their Events usesDefaultConnectLogic
by default. Other logics can be contributed to the hivemodule configuration point EducationalObjectiveConnectionLogic, of which the last contributed will be used- Specified by:
connectEducationObjectivesAndReservations
in interfaceConnectReservationsByLogicActionService
- Parameters:
selection
- the selected events- Throws:
InterruptedException
-
setConnectionLogic
@Autowired public void setConnectionLogic(List<EducationalObjectiveConnectionContribution> logicContributions)
-