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
ConstructorsConstructorDescriptionMassLecturerBookingActionServiceImpl(Context context, CommandExecutor executor, EntityDefaultValueService defaultValueService, EntityExplorerActionSelectionService selectionService, org.slf4j.Logger log) -
Method Summary
Modifier and TypeMethodDescriptionvoidbookAll(EntityExplorerActionSelection selection, String eventKeys, String lecturerStatusKey) Creates `Lecturer_booking` entities for each user in `selection` for the given events.voidsetRelationsToCopy(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:
getDefaultStatusin interfaceMassLecturerBookingActionService
-
bookAll
public void bookAll(EntityExplorerActionSelection selection, String eventKeys, String lecturerStatusKey) throws RpcExecutionException Description copied from interface:MassLecturerBookingActionServiceCreates `Lecturer_booking` entities for each user in `selection` for the given events.- Specified by:
bookAllin 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)
-