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 Summary
Modifier and TypeFieldDescriptionprotected I18nUtils
The i18n utilsprotected OdfReferenceTableHelper
The ODF reference table helperprotected AmetysObjectResolver
The Ametys object resolver -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
checkProgram
(Program program, ExportReport report) Check if the program structure is matchingabstract void
createProgram
(Program program, ExportReport report) Create a program through the export connectorprotected String
getContainerNatureCode
(Container container) Get the code of the container naturevoid
service
(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
_i18nUtils
The i18n utils -
_resolver
The Ametys object resolver -
_odfRefTableHelper
The ODF reference table helper
-
-
Constructor Details
-
AbstractExportStructure
public AbstractExportStructure()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getContainerNatureCode
Get the code of the container nature- Parameters:
container
- the container- Returns:
- the code of the nature
-
checkProgram
Check if the program structure is matching- Parameters:
program
- the programreport
- the export report
-
createProgram
Create a program through the export connector- Parameters:
program
- the program to exportreport
- the export report
-