Class EducationScheduleAssignScheduleActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.educationschedule.impl.actions.EducationScheduleAssignScheduleActionServiceImpl
- All Implemented Interfaces:
EducationScheduleAssignScheduleActionService
public class EducationScheduleAssignScheduleActionServiceImpl
extends Object
implements EducationScheduleAssignScheduleActionService
-
Constructor Summary
ConstructorsConstructorDescriptionEducationScheduleAssignScheduleActionServiceImpl(LogicCopyService logicCopyService, EntityExplorerActionSelectionService selectionService, Context context) -
Method Summary
Modifier and TypeMethodDescriptionvoidcopies the Objectives, which are related to the selected Event via Educational_schedule also clears the Relation relEducation_schedule on Education_Objective and sets the removed Educational_schedule to Relation relCopied_from_education_schedulevoidassignObjectivesFromInput(EntityExplorerActionSelection selection, String scheduleKeys, String objectiveKeys, boolean copyEducationContent) copies Objectives, which are given by the user on all selected Events also clears the Relation relEducation_schedule on Education_Objective and sets the removed Educational_schedule to Relation relCopied_from_education_schedule
-
Constructor Details
-
EducationScheduleAssignScheduleActionServiceImpl
public EducationScheduleAssignScheduleActionServiceImpl(LogicCopyService logicCopyService, EntityExplorerActionSelectionService selectionService, Context context)
-
-
Method Details
-
assignObjectivesFromEvent
public void assignObjectivesFromEvent(EntityExplorerActionSelection selection) throws InterruptedException Description copied from interface:EducationScheduleAssignScheduleActionServicecopies the Objectives, which are related to the selected Event via Educational_schedule also clears the Relation relEducation_schedule on Education_Objective and sets the removed Educational_schedule to Relation relCopied_from_education_schedule- Specified by:
assignObjectivesFromEventin interfaceEducationScheduleAssignScheduleActionService- Parameters:
selection- selection of events- Throws:
InterruptedException
-
assignObjectivesFromInput
public void assignObjectivesFromInput(EntityExplorerActionSelection selection, String scheduleKeys, String objectiveKeys, boolean copyEducationContent) throws InterruptedException Description copied from interface:EducationScheduleAssignScheduleActionServicecopies Objectives, which are given by the user on all selected Events also clears the Relation relEducation_schedule on Education_Objective and sets the removed Educational_schedule to Relation relCopied_from_education_schedule- Specified by:
assignObjectivesFromInputin interfaceEducationScheduleAssignScheduleActionService- Parameters:
selection- selection of eventsscheduleKeys- Comma separated PrimaryKeys as one String of Entity Education_schedule given by the userobjectiveKeys- Comma separated PrimaryKeys as one String of the Entity Educational_objective given by the usercopyEducationContent- If true Education_content will be copied too- Throws:
InterruptedException
-