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
FieldsModifier and TypeFieldDescriptionprotected I18nUtilsThe i18n utilsprotected OdfReferenceTableHelperThe ODF reference table helperprotected AmetysObjectResolverThe Ametys object resolver - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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.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:
 servicein 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
 
 -