Class ProposalApplyActionImpl
java.lang.Object
ch.tocco.nice2.optional.facilityreservation.impl.roomproposal.ProposalApplyActionImpl
- All Implemented Interfaces:
ProposalApplyAction
-
Constructor Summary
ConstructorDescriptionProposalApplyActionImpl
(Context context, QueryBuilderFactory queryBuilderFactory, EntityExplorerActionSelectionService selectionService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyRoomToReservations
(String[] roomKeys, EntityExplorerActionSelection reservationSelection) Receives primary keys of rooms and a set of Reservation entities.
-
Constructor Details
-
ProposalApplyActionImpl
public ProposalApplyActionImpl(Context context, QueryBuilderFactory queryBuilderFactory, EntityExplorerActionSelectionService selectionService)
-
-
Method Details
-
applyRoomToReservations
public void applyRoomToReservations(String[] roomKeys, EntityExplorerActionSelection reservationSelection) Receives primary keys of rooms and a set of Reservation entities. Removes all rooms currently associated with the reservations and adds the given rooms.- Specified by:
applyRoomToReservations
in interfaceProposalApplyAction
-