Class ApogeeSingleProgramStructure
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.odfsync.apogee.ws.structure.AbstractApogeeStructure
-
- org.ametys.plugins.odfsync.apogee.ws.structure.ApogeeSingleProgramStructure
-
- All Implemented Interfaces:
ApogeeExportStructure,LogEnabled,Serviceable
public class ApogeeSingleProgramStructure extends AbstractApogeeStructure
The structure to export in Apogee the following program
Program into DIP-VDI
-
-
Field Summary
-
Fields inherited from class org.ametys.plugins.odfsync.apogee.ws.structure.AbstractApogeeStructure
_apogeeWS, _i18nUtils, _odfRefTableHelper, _resolver, CODE_APOGEE_ATTRIBUTE_NAME, CODE_APOGEE_SEPARATOR, VERSION_APOGEE_ATTRIBUTE_NAME
-
-
Constructor Summary
Constructors Constructor Description ApogeeSingleProgramStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckContainerAsSemester(Container container, ApogeeExportReport report)Check if the container as semester has the good data and structure to be export in ApogeevoidcheckContainerAsYear(Container container, ApogeeExportReport report)Check if the container as year has the good data and structure to be export in ApogeevoidcheckCourse(Course course, ApogeeExportReport report)Check if the course has the good data and structure to be export in ApogeevoidcheckCourseList(CourseList courseList, ApogeeExportReport report)Check if the course list has the good data and structure to be export in ApogeevoidcheckProgram(Program program, ApogeeExportReport report)Check if the program structure is matchingvoidcheckSubProgram(SubProgram subProgram, ApogeeExportReport report)Check if the subProgram has the good data and structure to be export in ApogeevoidcreateProgram(Program program, ApogeeExportReport report)Create a program in Apogee-
Methods inherited from class org.ametys.plugins.odfsync.apogee.ws.structure.AbstractApogeeStructure
_checkSimpleData, _checkTableRef, _checkVersionApogee, _createCourse, _createCourseList, checkMandatoryDataForContent, checkMandatoryDataForOrgunits, getCodeApogee, getContainerNatureCode, getDIPMandatoryData, getELPMandatoryData, getETPMandatoryData, getLSEMandatoryData, getOrgUnitMandatoryDataForDIP, getOrgUnitMandatoryDataForELP, getOrgUnitMandatoryDataForETP, getVDIMandatoryData, getVersionApogee, getVETMandatoryData, isSemesterContainer, isYearContainer, service
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
ApogeeSingleProgramStructure
public ApogeeSingleProgramStructure()
-
-
Method Detail
-
checkProgram
public void checkProgram(Program program, ApogeeExportReport report)
Description copied from interface:ApogeeExportStructureCheck if the program structure is matching- Parameters:
program- the programreport- the Apogee export report
-
checkSubProgram
public void checkSubProgram(SubProgram subProgram, ApogeeExportReport report)
Description copied from class:AbstractApogeeStructureCheck if the subProgram has the good data and structure to be export in Apogee- Specified by:
checkSubProgramin classAbstractApogeeStructure- Parameters:
subProgram- the subProgram to checkreport- the Apogee export report
-
checkContainerAsYear
public void checkContainerAsYear(Container container, ApogeeExportReport report)
Description copied from class:AbstractApogeeStructureCheck if the container as year has the good data and structure to be export in Apogee- Specified by:
checkContainerAsYearin classAbstractApogeeStructure- Parameters:
container- the container to checkreport- the Apogee export report
-
checkContainerAsSemester
public void checkContainerAsSemester(Container container, ApogeeExportReport report)
Description copied from class:AbstractApogeeStructureCheck if the container as semester has the good data and structure to be export in Apogee- Specified by:
checkContainerAsSemesterin classAbstractApogeeStructure- Parameters:
container- the container to checkreport- the Apogee export report
-
checkCourseList
public void checkCourseList(CourseList courseList, ApogeeExportReport report)
Description copied from class:AbstractApogeeStructureCheck if the course list has the good data and structure to be export in Apogee- Overrides:
checkCourseListin classAbstractApogeeStructure- Parameters:
courseList- the course list to checkreport- the Apogee export report
-
checkCourse
public void checkCourse(Course course, ApogeeExportReport report)
Description copied from class:AbstractApogeeStructureCheck if the course has the good data and structure to be export in Apogee- Overrides:
checkCoursein classAbstractApogeeStructure- Parameters:
course- the course to checkreport- the Apogee export report
-
createProgram
public void createProgram(Program program, ApogeeExportReport report)
Description copied from interface:ApogeeExportStructureCreate a program in Apogee- Parameters:
program- the program to exportreport- the Apogee export report
-
-