Class ApogeeStructureComponent
- java.lang.Object
-
- org.ametys.plugins.odfsync.apogee.ws.ApogeeStructureComponent
-
- All Implemented Interfaces:
Component,Serviceable
public class ApogeeStructureComponent extends Object implements Serviceable, Component
Component for Apogee export
-
-
Field Summary
Fields Modifier and Type Field Description protected ContentTypeExtensionPoint_ctExtPointThe content type extension pointprotected ApogeeExportExtensionPoint_exportApogeeEPThe apogee export extension pointprotected I18nUtils_i18nUtilsThe i18nUtilsprotected AmetysObjectResolver_resolverThe Ametys object resolverstatic StringROLEAvalon Role
-
Constructor Summary
Constructors Constructor Description ApogeeStructureComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Map<String,Object>_getParams(Content content, Set<ModelItem> modelItems)ApogeeExportReportgetApogeeExportReport(String programId)Get the Apogee export report of the program idMap<String,Object>getApogeeExportReportInfo(String programId)Get the report informations of the Apogee export of the program idvoidservice(ServiceManager manager)
-
-
-
Field Detail
-
_exportApogeeEP
protected ApogeeExportExtensionPoint _exportApogeeEP
The apogee export extension point
-
_resolver
protected AmetysObjectResolver _resolver
The Ametys object resolver
-
_i18nUtils
protected I18nUtils _i18nUtils
The i18nUtils
-
_ctExtPoint
protected ContentTypeExtensionPoint _ctExtPoint
The content type extension point
-
-
Constructor Detail
-
ApogeeStructureComponent
public ApogeeStructureComponent()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getApogeeExportReport
public ApogeeExportReport getApogeeExportReport(String programId)
Get the Apogee export report of the program id- Parameters:
programId- the program id- Returns:
- the Apogee export report
-
getApogeeExportReportInfo
public Map<String,Object> getApogeeExportReportInfo(String programId)
Get the report informations of the Apogee export of the program id- Parameters:
programId- the program id to export- Returns:
- the export results
-
-