Class ApogeeContainerStructure
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.odfsync.apogee.ws.structure.AbstractApogeeStructure
-
- org.ametys.plugins.odfsync.apogee.ws.structure.ApogeeContainerStructure
-
- All Implemented Interfaces:
ApogeeExportStructure
,LogEnabled
,Serviceable
public class ApogeeContainerStructure extends AbstractApogeeStructure
The structure to export in Apogee the following program
Program / Container (year) / 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, _i18nUtils, _odfRefTableHelper, _resolver, CODE_APOGEE_ATTRIBUTE_NAME, CODE_APOGEE_SEPARATOR, VERSION_APOGEE_ATTRIBUTE_NAME
-
-
Constructor Summary
Constructors Constructor Description ApogeeContainerStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
_createContainerAsELP(Container container, Content parentYearContainer, gouv.education.apogee.commun.client.ws.creationse.CreationSEMetierServiceInterface creationService, ApogeeExportReport report)
Create a container in Apogeeprotected void
_createContainerAsETPVET(Container container, Content programParent, gouv.education.apogee.commun.client.ws.creationse.CreationSEMetierServiceInterface creationService, ApogeeExportReport report)
Create a container as ETP/VET in Apogeevoid
checkContainerAsSemester(Container container, ApogeeExportReport report)
Check if the container as semester has the good data and structure to be export in Apogeevoid
checkContainerAsYear(Container container, ApogeeExportReport report)
Check if the container as year has the good data and structure to be export in Apogeevoid
checkProgram(Program program, ApogeeExportReport report)
Check if the program structure is matchingvoid
checkSubProgram(SubProgram subProgram, ApogeeExportReport report)
Check if the subProgram has the good data and structure to be export in Apogeevoid
createProgram(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, checkCourse, checkCourseList, 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
-
ApogeeContainerStructure
public ApogeeContainerStructure()
-
-
Method Detail
-
checkProgram
public void checkProgram(Program program, ApogeeExportReport report)
Description copied from interface:ApogeeExportStructure
Check 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: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, ApogeeExportReport report)
Description copied from class:AbstractApogeeStructure
Check if the container as year has the good data and structure to be export in Apogee- Specified by:
checkContainerAsYear
in classAbstractApogeeStructure
- Parameters:
container
- the container to checkreport
- the Apogee export report
-
checkContainerAsSemester
public void checkContainerAsSemester(Container container, ApogeeExportReport report)
Description copied from class:AbstractApogeeStructure
Check if the container as semester has the good data and structure to be export in Apogee- Specified by:
checkContainerAsSemester
in classAbstractApogeeStructure
- Parameters:
container
- the container to checkreport
- the Apogee export report
-
createProgram
public void createProgram(Program program, ApogeeExportReport report)
Description copied from interface:ApogeeExportStructure
Create a program in Apogee- Parameters:
program
- the program to exportreport
- the Apogee export report
-
_createContainerAsETPVET
protected void _createContainerAsETPVET(Container container, Content programParent, gouv.education.apogee.commun.client.ws.creationse.CreationSEMetierServiceInterface creationService, ApogeeExportReport report) throws RemoteException
Create a container as ETP/VET in Apogee- Parameters:
container
- the container 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 parentYearContainer, gouv.education.apogee.commun.client.ws.creationse.CreationSEMetierServiceInterface creationService, ApogeeExportReport report) throws RemoteException
Create a container in Apogee- Parameters:
container
- the container to createparentYearContainer
- the parent year containercreationService
- the service to create element in Apogeereport
- the Apogee export report- Throws:
RemoteException
- if an export error occurred
-
-