Package org.ametys.odf.ose.export
Class AbstractOSEExport
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.odf.ose.export.AbstractOSEExport
-
- All Implemented Interfaces:
OSEExport
,LogEnabled
- Direct Known Subclasses:
NatureEnseignementExport
,ODFExport
,TypeFormationExport
,TypePeriodeExport
public abstract class AbstractOSEExport extends AbstractLogEnabled implements OSEExport
Abstract class for OSE export.
-
-
Constructor Summary
Constructors Constructor Description AbstractOSEExport()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract List<ParameterizableQuery>
_populate(String ametysCatalog, Long oseCatalog)
Populate the Ametys table(s) with the values from Ametys.void
populate(String ametysCatalog, Long oseCatalog)
Populate the database with Ametys data.-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ametys.odf.ose.export.OSEExport
initializeDb
-
-
-
-
Constructor Detail
-
AbstractOSEExport
public AbstractOSEExport()
-
-
Method Detail
-
populate
public void populate(String ametysCatalog, Long oseCatalog)
Description copied from interface:OSEExport
Populate the database with Ametys data.
-
_populate
protected abstract List<ParameterizableQuery> _populate(String ametysCatalog, Long oseCatalog)
Populate the Ametys table(s) with the values from Ametys.- Parameters:
ametysCatalog
- The Ametys catalog to filter data.oseCatalog
- The OSE catalog to insert into the right year.- Returns:
- A
List
of queries
-
-