Class PegaseProgramStructure
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.odfsync.export.AbstractExportStructure
org.ametys.plugins.odfsync.pegase.ws.structure.PegaseProgramStructure
- All Implemented Interfaces:
LogEnabled
,Initializable
,Component
,Serviceable
public class PegaseProgramStructure
extends AbstractExportStructure
implements Component, Initializable
The structure to export the program in Pegase
TODO rewrite completely for Pegase 24
-
Field Summary
Fields inherited from class org.ametys.plugins.odfsync.export.AbstractExportStructure
_i18nUtils, _odfRefTableHelper, _resolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkProgram
(Program program, ExportReport report) Checks if the program has all the required fields, their Pegase correspondence and that the program has a valid structurevoid
createProgram
(Program program, ExportReport report) Create a program in Pegasevoid
void
service
(ServiceManager manager) Methods inherited from class org.ametys.plugins.odfsync.export.AbstractExportStructure
getContainerNatureCode
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
Role
-
-
Constructor Details
-
PegaseProgramStructure
public PegaseProgramStructure()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractExportStructure
- Throws:
ServiceException
-
initialize
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
checkProgram
Checks if the program has all the required fields, their Pegase correspondence and that the program has a valid structure- Specified by:
checkProgram
in classAbstractExportStructure
- Parameters:
program
- the programreport
- the Pegase export report
-
createProgram
Create a program in Pegase- Specified by:
createProgram
in classAbstractExportStructure
- Parameters:
program
- the program to exportreport
- the Pegase export report
-