Class ApogeeSingleProgramStructure
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.odfsync.export.AbstractExportStructure
org.ametys.plugins.odfsync.apogee.ws.structure.AbstractApogeeStructure
org.ametys.plugins.odfsync.apogee.ws.structure.ApogeeSingleProgramStructure
- All Implemented Interfaces:
LogEnabled
,Serviceable
The structure to export in Apogee the following program
Program into DIP-VDI
Program into DIP-VDI
-
Field Summary
Fields inherited from class org.ametys.plugins.odfsync.apogee.ws.structure.AbstractApogeeStructure
_apogeeWS, CODE_APOGEE_ATTRIBUTE_NAME, CODE_APOGEE_SEPARATOR, ROLE, VERSION_APOGEE_ATTRIBUTE_NAME
Fields inherited from class org.ametys.plugins.odfsync.export.AbstractExportStructure
_i18nUtils, _odfRefTableHelper, _resolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkContainerAsYear
(Container container, ExportReport report, String containerNatureCode) Check if the container as year has the good data and structure to be export in Apogeevoid
checkCourse
(Course course, ExportReport report) Check if the course has the good data and structure to be export in Apogeevoid
checkCourseList
(CourseList courseList, ExportReport report) Check if the course list has the good data and structure to be export in Apogeevoid
checkProgram
(Program program, ExportReport report) Check if the program structure is matchingvoid
checkSubProgram
(SubProgram subProgram, ExportReport report) Check if the subProgram has the good data and structure to be export in Apogeevoid
createProgram
(Program program, ExportReport report) Create a program through the export connectorMethods inherited from class org.ametys.plugins.odfsync.apogee.ws.structure.AbstractApogeeStructure
_checkSimpleData, _checkTableRef, _checkVersionApogee, _createCourse, _createCourseList, checkContainerAsSemester, checkContainerSemester, checkContainerYear, checkMandatoryDataForContent, checkMandatoryDataForOrgunits, getCodeApogee, getDIPMandatoryData, getELPMandatoryData, getETPMandatoryData, getLSEMandatoryData, getOrgUnitMandatoryDataForDIP, getOrgUnitMandatoryDataForELP, getOrgUnitMandatoryDataForETP, getVDIMandatoryData, getVersionApogee, getVETMandatoryData, service
Methods inherited from class org.ametys.plugins.odfsync.export.AbstractExportStructure
getContainerNatureCode
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
ApogeeSingleProgramStructure
public ApogeeSingleProgramStructure()
-
-
Method Details
-
checkProgram
Description copied from class:AbstractExportStructure
Check if the program structure is matching- Specified by:
checkProgram
in classAbstractExportStructure
- Parameters:
program
- the programreport
- the export report
-
checkSubProgram
Description copied from class:AbstractApogeeStructure
Check if the subProgram has the good data and structure to be export in Apogee- Specified by:
checkSubProgram
in classAbstractApogeeStructure
- Parameters:
subProgram
- the subProgram to checkreport
- the Apogee export report
-
checkContainerAsYear
public void checkContainerAsYear(Container container, ExportReport report, String containerNatureCode) Description copied from class:AbstractApogeeStructure
Check if the container as year has the good data and structure to be export in Apogee- Overrides:
checkContainerAsYear
in classAbstractApogeeStructure
- Parameters:
container
- the container to checkreport
- the Apogee export reportcontainerNatureCode
- The container nature code
-
checkCourseList
Description copied from class:AbstractApogeeStructure
Check if the course list has the good data and structure to be export in Apogee- Overrides:
checkCourseList
in classAbstractApogeeStructure
- Parameters:
courseList
- the course list to checkreport
- the Apogee export report
-
checkCourse
Description copied from class:AbstractApogeeStructure
Check if the course has the good data and structure to be export in Apogee- Overrides:
checkCourse
in classAbstractApogeeStructure
- Parameters:
course
- the course to checkreport
- the Apogee export report
-
createProgram
Description copied from class:AbstractExportStructure
Create a program through the export connector- Specified by:
createProgram
in classAbstractExportStructure
- Parameters:
program
- the program to exportreport
- the export report
-