Package org.ametys.odf.ose.export.impl
Class ODFExport
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.odf.ose.export.AbstractOSEExport
org.ametys.odf.ose.export.impl.ODFExport
- All Implemented Interfaces:
OSEExport,LogEnabled,Serviceable
This exports ODF values to the OSE database by SRC_* views.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CostComputationComponentThe cost computation componentprotected CourseExporterThe exporter of coursesprotected HierarchyExporterThe exporter of hierarchyprotected ODFHelperThe ODF helperprotected ProgramPartExporterThe exporter of program elementsprotected StepExporterThe exporter of steps -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<ParameterizableQuery>Populate the Ametys table(s) with the values from Ametys.Initialize the database by dropping old Ametys tables and source views and activate import on the OSE tables.voidservice(ServiceManager manager) Methods inherited from class org.ametys.odf.ose.export.AbstractOSEExport
populateMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
_stepExporter
The exporter of steps -
_courseExporter
The exporter of courses -
_programElementExporter
The exporter of program elements -
_hierarchyExporter
The exporter of hierarchy -
_odfHelper
The ODF helper -
_costComputationComponent
The cost computation component
-
-
Constructor Details
-
ODFExport
public ODFExport()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
initializeDb
Description copied from interface:OSEExportInitialize the database by dropping old Ametys tables and source views and activate import on the OSE tables.- Specified by:
initializeDbin interfaceOSEExport- Returns:
- A
Listof queries
-
_populate
Description copied from class:AbstractOSEExportPopulate the Ametys table(s) with the values from Ametys.- Specified by:
_populatein classAbstractOSEExport- Parameters:
ametysCatalog- The Ametys catalog to filter data.oseCatalog- The OSE catalog to insert into the right year.- Returns:
- A
Listof queries
-