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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final record
Store the parameters necessary to attach all children of an objectprotected static final record
If the objet exists, store the objetMaquette detail and its Etagprotected static final record
Store the Pegase child and its children to attach request -
Field Summary
FieldsFields inherited from class org.ametys.plugins.odfsync.export.AbstractExportStructure
_i18nUtils, _odfRefTableHelper, _resolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkProgram
(Program program, ExportReport report) Checks if the program has all the required fieldsvoid
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- Specified by:
checkProgram
in classAbstractExportStructure
- Parameters:
program
- the program to checkreport
- 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
-