Package org.ametys.odf.lheo
Class LHEOQueryManager
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.odf.lheo.LHEOQueryManager
-
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
public class LHEOQueryManager extends AbstractLogEnabled implements Serviceable, Component
Helper to get abstract programs to export for LHEO Can be overridden in projects to have specific query for abstract programs
-
-
Field Summary
Fields Modifier and Type Field Description protected CatalogsManager
_catalogsManager
The catalogs managerstatic String
ROLE
The Avalon role
-
Constructor Summary
Constructors Constructor Description LHEOQueryManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AbstractProgram>
getAbstractProgramsToExport(String catalog, String lang, Map<String,Object> additionalParameters)
Get abstract programs to export in LHEOvoid
service(ServiceManager smanager)
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
_catalogsManager
protected CatalogsManager _catalogsManager
The catalogs manager
-
-
Constructor Detail
-
LHEOQueryManager
public LHEOQueryManager()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getAbstractProgramsToExport
public List<AbstractProgram> getAbstractProgramsToExport(String catalog, String lang, Map<String,Object> additionalParameters)
Get abstract programs to export in LHEO- Parameters:
catalog
- the cataloglang
- the langadditionalParameters
- the additional parameters- Returns:
- the list of abstract programs
-
-