Class MassLecturerBookingActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.event.impl.actions.MassLecturerBookingActionServiceImpl
- All Implemented Interfaces:
MassLecturerBookingActionService
public class MassLecturerBookingActionServiceImpl
extends Object
implements MassLecturerBookingActionService
-
Constructor Summary
ConstructorDescriptionMassLecturerBookingActionServiceImpl
(Context context, CommandExecutor executor, EntityDefaultValueService defaultValueService, EntityExplorerActionSelectionService selectionService, org.slf4j.Logger log) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bookAll
(EntityExplorerActionSelection selection, String eventKeys, String lecturerStatusKey) Creates `Lecturer_booking` entities for each user in `selection` for the given events.void
setRelationsToCopy
(List<MassLecturerBookingActionCopyRelationContribution> relationsToCopy)
-
Constructor Details
-
MassLecturerBookingActionServiceImpl
public MassLecturerBookingActionServiceImpl(Context context, CommandExecutor executor, EntityDefaultValueService defaultValueService, EntityExplorerActionSelectionService selectionService, org.slf4j.Logger log)
-
-
Method Details
-
getDefaultStatus
- Specified by:
getDefaultStatus
in interfaceMassLecturerBookingActionService
-
bookAll
public void bookAll(EntityExplorerActionSelection selection, String eventKeys, String lecturerStatusKey) throws RpcExecutionException Description copied from interface:MassLecturerBookingActionService
Creates `Lecturer_booking` entities for each user in `selection` for the given events.- Specified by:
bookAll
in interfaceMassLecturerBookingActionService
- Parameters:
selection
- the selected entitieseventKeys
- of the events as string separated by commaslecturerStatusKey
- of the lecturer_status as string- Throws:
RpcExecutionException
-
setRelationsToCopy
@Autowired(required=false) public void setRelationsToCopy(List<MassLecturerBookingActionCopyRelationContribution> relationsToCopy)
-