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
_ctExtPoint
The content type extension pointprotected ApogeeExportExtensionPoint
_exportApogeeEP
The apogee export extension pointprotected I18nUtils
_i18nUtils
The i18nUtilsprotected AmetysObjectResolver
_resolver
The Ametys object resolverstatic String
ROLE
Avalon 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)
ApogeeExportReport
getApogeeExportReport(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 idvoid
service(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:
service
in 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
-
-