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
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe attribute name for the code Pégasestatic final StringRoleFields inherited from class org.ametys.plugins.odfsync.export.AbstractExportStructure
_i18nUtils, _odfRefTableHelper, _resolver -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckProgram(Program program, ExportReport report) Checks if the program has all the required fields, their Pegase correspondence and that the program has a valid structurevoidcreateProgram(Program program, ExportReport report) Create a program in Pegasevoidvoidservice(ServiceManager manager) Methods inherited from class org.ametys.plugins.odfsync.export.AbstractExportStructure
getContainerNatureCodeMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
Role -
CODE_PEGASE_ATTRIBUTE_NAME
The attribute name for the code Pégase- See Also:
-
-
Constructor Details
-
PegaseProgramStructure
public PegaseProgramStructure()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classAbstractExportStructure- Throws:
ServiceException
-
initialize
- Specified by:
initializein 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:
checkProgramin classAbstractExportStructure- Parameters:
program- the programreport- the Pegase export report
-
createProgram
Create a program in Pegase- Specified by:
createProgramin classAbstractExportStructure- Parameters:
program- the program to exportreport- the Pegase export report
-