Class AbstractExportStructure
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.odfsync.export.AbstractExportStructure
- All Implemented Interfaces:
- LogEnabled,- Serviceable
- Direct Known Subclasses:
- AbstractApogeeStructure,- PegaseProgramStructure
The abstract class to handle an export in a connector (Pégase, Apogée...)
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected I18nUtilsThe i18n utilsprotected OdfReferenceTableHelperThe ODF reference table helperprotected AmetysObjectResolverThe Ametys object resolver
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract voidcheckProgram(Program program, ExportReport report) Check if the program structure is matchingabstract voidcreateProgram(Program program, ExportReport report) Create a program through the export connectorprotected StringgetContainerNatureCode(Container container) Get the code of the container naturevoidservice(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabledgetLogger, setLogger
- 
Field Details- 
_i18nUtilsThe i18n utils
- 
_resolverThe Ametys object resolver
- 
_odfRefTableHelperThe ODF reference table helper
 
- 
- 
Constructor Details- 
AbstractExportStructurepublic AbstractExportStructure()
 
- 
- 
Method Details- 
service- Specified by:
- servicein interface- Serviceable
- Throws:
- ServiceException
 
- 
getContainerNatureCodeGet the code of the container nature- Parameters:
- container- the container
- Returns:
- the code of the nature
 
- 
checkProgramCheck if the program structure is matching- Parameters:
- program- the program
- report- the export report
 
- 
createProgramCreate a program through the export connector- Parameters:
- program- the program to export
- report- the export report
 
 
-