Class SchoolingCreateActionExtension
java.lang.Object
ch.tocco.nice2.optional.educationrequirement.impl.logicextension.SchoolingCreateActionExtension
- All Implemented Interfaces:
SchoolingCreateActionLogicExtension
@Component
public class SchoolingCreateActionExtension
extends Object
implements SchoolingCreateActionLogicExtension
-
Constructor Summary
ConstructorDescriptionSchoolingCreateActionExtension
(SecurityManager securityManager, RequirementRuleService requirementRuleService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
linkRequirementRules
(List<Entity> schoolingEntities, Entity courseOfStudy) Connect all the requirement package rules which are associated with the selected course of study.
-
Constructor Details
-
SchoolingCreateActionExtension
public SchoolingCreateActionExtension(SecurityManager securityManager, RequirementRuleService requirementRuleService)
-
-
Method Details
-
linkRequirementRules
Description copied from interface:SchoolingCreateActionLogicExtension
Connect all the requirement package rules which are associated with the selected course of study. IfonlyAdditional
is true, already linked rules will be skiped.- Specified by:
linkRequirementRules
in interfaceSchoolingCreateActionLogicExtension
- Parameters:
schoolingEntities
- list of schooling entites for which the rules have to be linked withcourseOfStudy
- selected course of study with associated requirement packages
-