Class CourseUnitEnrichmentService
- java.lang.Object
-
- com.eduix.genexp.enrichment.AbstractEnrichmentService
-
- com.eduix.genexp.enrichment.cross_study.BaseEnrichmentService
-
- com.eduix.genexp.enrichment.cross_study.CourseUnitEnrichmentService
-
- All Implemented Interfaces:
EnrichmentService
public class CourseUnitEnrichmentService extends BaseEnrichmentService
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Loggerlog-
Fields inherited from class com.eduix.genexp.enrichment.cross_study.BaseEnrichmentService
accomplishmentMethodService, categoryManager, courseUnitManager, courseUnitPartManager, courseUnitRealizationManager, crossStudyService, educationGroupService, exportConfig, learningUnitManager, localizationManager, luRelationManager, offeringModuleService, organisationMapper, programmeManager, studyModuleManager, tagManager, unitAllocationService, unitManager
-
Fields inherited from class com.eduix.genexp.enrichment.AbstractEnrichmentService
name
-
-
Constructor Summary
Constructors Constructor Description CourseUnitEnrichmentService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidaddRealizations(String courseUnitId, ExportCourseUnit exportCourseUnit)EnrichmentContextenrich(EnrichmentContext enrichmentContext, boolean inPlace)Enrich the study element in the given enrichment contextMap<String,Class<?>>getTypeClassMappings()private voidsetLiterature(ExportCourseUnit exportCourseUnit, com.eduplan.domain.lum.CourseUnitDetails details)private voidsetStatus(ExportCourseUnit exportCourseUnit, com.eduplan.domain.lum.CourseUnit courseUnit)private voidsetStatus(ExportCourseUnitRealisation realisation, com.eduplan.domain.lum.CourseUnitRealization courseUnitRealization)private voidsetStudyTypes(ExportCourseUnit exportCourseUnit, com.eduplan.domain.lum.CourseUnitDetails details)-
Methods inherited from class com.eduix.genexp.enrichment.cross_study.BaseEnrichmentService
addDatesTimes, archived, convertLeaningUnitPersonsToPersonReferences, convertPersonsToPersonReferences, convertToLocalDate, convertToOffsetDateTime, from, getExportConfig, getStudyElements, getTags, getUnits, isApplicable, isProcessable, parentActive, setAccomplishmentMethodService, setCategoryManager, setCourseUnitManager, setCourseUnitPartManager, setCourseUnitRealizationManager, setCrossStudyService, setDates, setEducationGroupService, setExportConfig, setExportRestrictions, setExportService, setFieldsAndResponsibilities, setFieldsAndResponsibilities2, setLearningUnitManager, setLocalizationManager, setLuRelationManager, setOfferingModuleService, setOrganisationMapper, setParents, setProgrammeManager, setRootOrganisations, setStudyModuleManager, setTagManager, setTriggerParents, setUnitAllocationService, setUnitManager, trigger, valid
-
Methods inherited from class com.eduix.genexp.enrichment.AbstractEnrichmentService
getName
-
-
-
-
Method Detail
-
getTypeClassMappings
public Map<String,Class<?>> getTypeClassMappings()
- Specified by:
getTypeClassMappingsin interfaceEnrichmentService- Overrides:
getTypeClassMappingsin classAbstractEnrichmentService
-
enrich
public EnrichmentContext enrich(EnrichmentContext enrichmentContext, boolean inPlace)
Description copied from interface:EnrichmentServiceEnrich the study element in the given enrichment context- Parameters:
enrichmentContext- the current enruchment contextinPlace- true, in enrichment does not create a new context- Returns:
- the updated enrichhment context
-
setStatus
private void setStatus(ExportCourseUnit exportCourseUnit, com.eduplan.domain.lum.CourseUnit courseUnit)
-
addRealizations
private void addRealizations(String courseUnitId, ExportCourseUnit exportCourseUnit)
-
setStatus
private void setStatus(ExportCourseUnitRealisation realisation, com.eduplan.domain.lum.CourseUnitRealization courseUnitRealization)
-
setLiterature
private void setLiterature(ExportCourseUnit exportCourseUnit, com.eduplan.domain.lum.CourseUnitDetails details)
-
setStudyTypes
private void setStudyTypes(ExportCourseUnit exportCourseUnit, com.eduplan.domain.lum.CourseUnitDetails details)
-
-