Class DefaultReservationRegistrationProposeActionService
java.lang.Object
ch.tocco.nice2.optional.reservation.api.actions.DefaultReservationRegistrationProposeActionService
- All Implemented Interfaces:
ReservationRegistrationProposeActionService
public class DefaultReservationRegistrationProposeActionService
extends Object
implements ReservationRegistrationProposeActionService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.reservation.api.actions.ReservationRegistrationProposeActionService
ReservationRegistrationProposeActionService.DistributeOptions, ReservationRegistrationProposeActionService.ProposeSettings
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ClientQuestionService
protected final Context
protected final DefaultDisplayService
protected final EntityDefaultValueService
protected final EntityExplorerActionSelectionService
protected final EventReservationPropagationService
protected final QueryBuilderFactory
protected final SecurityManager
protected final TextResources
-
Constructor Summary
ConstructorDescriptionDefaultReservationRegistrationProposeActionService
(Context context, EntityExplorerActionSelectionService entityExplorerActionSelectionService, TextResources textResources, DefaultDisplayService defaultDisplayService, QueryBuilderFactory queryBuilderFactory, SecurityManager securityManager, EntityDefaultValueService entityDefaultValueService, ClientQuestionService clientQuestionService, EventReservationPropagationService propagationService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(EntityExplorerActionSelection selection, ReservationRegistrationProposeActionService.ProposeSettings settings) initialize
(EntityExplorerActionSelection selection) orderRegistrations
(Iterable<Entity> validRegistrationList, ReservationRegistrationProposeActionService.ProposeSettings settings) void
setDistributions
(List<ReservationRegistrationDistribution> distributions)
-
Field Details
-
context
-
entityExplorerActionSelectionService
-
textResources
-
defaultDisplayService
-
queryBuilderFactory
-
securityManager
-
entityDefaultValueService
-
clientQuestionService
-
propagationService
-
-
Constructor Details
-
DefaultReservationRegistrationProposeActionService
public DefaultReservationRegistrationProposeActionService(Context context, EntityExplorerActionSelectionService entityExplorerActionSelectionService, TextResources textResources, DefaultDisplayService defaultDisplayService, QueryBuilderFactory queryBuilderFactory, SecurityManager securityManager, EntityDefaultValueService entityDefaultValueService, ClientQuestionService clientQuestionService, EventReservationPropagationService propagationService)
-
-
Method Details
-
initialize
public ReservationRegistrationProposeActionService.DistributeOptions initialize(EntityExplorerActionSelection selection) - Specified by:
initialize
in interfaceReservationRegistrationProposeActionService
-
execute
public void execute(EntityExplorerActionSelection selection, ReservationRegistrationProposeActionService.ProposeSettings settings) throws InterruptedException - Specified by:
execute
in interfaceReservationRegistrationProposeActionService
- Throws:
InterruptedException
-
orderRegistrations
protected Iterable<Entity> orderRegistrations(Iterable<Entity> validRegistrationList, ReservationRegistrationProposeActionService.ProposeSettings settings) -
getOrderOptions
-
setDistributions
-