Class ApogeeDefaultStructure
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.ApogeeDefaultStructure
- All Implemented Interfaces:
LogEnabled,Serviceable
The structure to export in Apogee the following program
Program / SubProgram / Container (semester) / UE / ELP / ...
into DIP-VDI / ETP-VET / ELP / LSE / ELP / ...
Program / SubProgram / Container (semester) / UE / ELP / ...
into DIP-VDI / ETP-VET / ELP / LSE / ELP / ...
-
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_NAMEFields inherited from class org.ametys.plugins.odfsync.export.AbstractExportStructure
_i18nUtils, _odfRefTableHelper, _resolver -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void_createContainerAsELP(Container container, Content programParent, Content parentSubProgram, gouv.education.apogee.commun.client.ws.creationse.CreationSEMetierServiceInterface creationService, ExportReport report) Create a container as ELP in Apogeeprotected void_createSubProgram(SubProgram subProgram, Content programParent, gouv.education.apogee.commun.client.ws.creationse.CreationSEMetierServiceInterface creationService, ExportReport report) Create a subProgram in ApogeevoidcheckContainerAsYear(Container container, ExportReport report, String containerNatureCode) Check if the container as year has the good data and structure to be export in ApogeevoidcheckProgram(Program program, ExportReport report) Check if the program structure is matchingvoidcheckSubProgram(SubProgram subProgram, ExportReport report) Check if the subProgram has the good data and structure to be export in ApogeevoidcreateProgram(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, checkCourse, checkCourseList, checkMandatoryDataForContent, checkMandatoryDataForOrgunits, getCodeApogee, getDIPMandatoryData, getELPMandatoryData, getETPMandatoryData, getLSEMandatoryData, getOrgUnitMandatoryDataForDIP, getOrgUnitMandatoryDataForELP, getOrgUnitMandatoryDataForETP, getVDIMandatoryData, getVersionApogee, getVETMandatoryData, serviceMethods inherited from class org.ametys.plugins.odfsync.export.AbstractExportStructure
getContainerNatureCodeMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
ApogeeDefaultStructure
public ApogeeDefaultStructure()
-
-
Method Details
-
checkProgram
Description copied from class:AbstractExportStructureCheck if the program structure is matching- Specified by:
checkProgramin classAbstractExportStructure- Parameters:
program- the programreport- the export report
-
checkSubProgram
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, ExportReport report, String containerNatureCode) Description copied from class:AbstractApogeeStructureCheck if the container as year has the good data and structure to be export in Apogee- Overrides:
checkContainerAsYearin classAbstractApogeeStructure- Parameters:
container- the container to checkreport- the Apogee export reportcontainerNatureCode- The container nature code
-
createProgram
Description copied from class:AbstractExportStructureCreate a program through the export connector- Specified by:
createProgramin classAbstractExportStructure- Parameters:
program- the program to exportreport- the export report
-
_createSubProgram
protected void _createSubProgram(SubProgram subProgram, Content programParent, gouv.education.apogee.commun.client.ws.creationse.CreationSEMetierServiceInterface creationService, ExportReport report) throws RemoteException Create a subProgram in Apogee- Parameters:
subProgram- the subProgram to createprogramParent- the program parent in ApogeecreationService- the service to create element in Apogeereport- the Apogee export report- Throws:
RemoteException- if an export error occurred
-
_createContainerAsELP
protected void _createContainerAsELP(Container container, Content programParent, Content parentSubProgram, gouv.education.apogee.commun.client.ws.creationse.CreationSEMetierServiceInterface creationService, ExportReport report) throws RemoteException Create a container as ELP in Apogee- Parameters:
container- the container to createprogramParent- the program parent in ApogeeparentSubProgram- the parent year containercreationService- the service to create element in Apogeereport- the Apogee export report- Throws:
RemoteException- if an export error occurred
-