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
ConstructorsConstructorDescriptionConnectReservationsByMatrixActionServiceImpl(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 valuesvoidsaves 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:ConnectReservationsByMatrixActionServicegathers all data needed to build the axis for the CheckboxMatrix and all currently checked values- Specified by:
getMatrixValuesin 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:ConnectReservationsByMatrixActionServicesaves changes made to the values of a CheckboxMatrix- Specified by:
saveChangesin interfaceConnectReservationsByMatrixActionService- Parameters:
values- all values that should be persisted- Throws:
InterruptedException
-