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
Helper to get abstract programs to export for LHEO
Can be overridden in projects to have specific query for abstract programs
-
Field Summary
Modifier and TypeFieldDescriptionprotected CatalogsManager
The catalogs managerstatic final String
The Avalon role -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet abstract programs to export in LHEOvoid
service
(ServiceManager smanager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The Avalon role -
_catalogsManager
The catalogs manager
-
-
Constructor Details
-
LHEOQueryManager
public LHEOQueryManager()
-
-
Method Details
-
service
- 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
-