Class ConnectReservationsByMatrixActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.educationschedule.impl.actions.connect.ConnectReservationsByMatrixActionServiceImpl
- All Implemented Interfaces:
ConnectReservationsByMatrixActionService
public class ConnectReservationsByMatrixActionServiceImpl
extends Object
implements ConnectReservationsByMatrixActionService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.educationschedule.impl.actions.connect.ConnectReservationsByMatrixActionService
ConnectReservationsByMatrixActionService.MatrixAxisValue, ConnectReservationsByMatrixActionService.MatrixCheckboxValue, ConnectReservationsByMatrixActionService.MatrixValues
-
Constructor Summary
ConstructorDescriptionConnectReservationsByMatrixActionServiceImpl
(DefaultDisplayService defaultDisplayService, EntityExplorerActionSelectionService selectionService, QueryBuilderFactory queryBuilderFactory, Context context, CommandExecutor executor) -
Method Summary
Modifier and TypeMethodDescriptiongetMatrixValues
(EntityExplorerActionSelection selection) gathers all data needed to build the axis for the CheckboxMatrix and all currently checked valuesvoid
saves changes made to the values of a CheckboxMatrix
-
Constructor Details
-
ConnectReservationsByMatrixActionServiceImpl
public ConnectReservationsByMatrixActionServiceImpl(DefaultDisplayService defaultDisplayService, EntityExplorerActionSelectionService selectionService, QueryBuilderFactory queryBuilderFactory, Context context, CommandExecutor executor)
-
-
Method Details
-
getMatrixValues
public ConnectReservationsByMatrixActionService.MatrixValues getMatrixValues(EntityExplorerActionSelection selection) Description copied from interface:ConnectReservationsByMatrixActionService
gathers all data needed to build the axis for the CheckboxMatrix and all currently checked values- Specified by:
getMatrixValues
in interfaceConnectReservationsByMatrixActionService
- Parameters:
selection
- the selected Event- Returns:
- all values needed to setup a CheckboxMatrix
-
saveChanges
public void saveChanges(ConnectReservationsByMatrixActionService.MatrixCheckboxValue[] values) throws InterruptedException Description copied from interface:ConnectReservationsByMatrixActionService
saves changes made to the values of a CheckboxMatrix- Specified by:
saveChanges
in interfaceConnectReservationsByMatrixActionService
- Parameters:
values
- all values that should be persisted- Throws:
InterruptedException
-