Class MCCReport
- All Implemented Interfaces:
PilotageReport
,LogEnabled
,PluginAware
,Initializable
,Configurable
,Serviceable
Class to generate the MCC report.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.plugins.odfpilotage.report.AbstractPilotageReport
AbstractPilotageReport.PilotageFile, AbstractPilotageReport.PilotageReportStatus
Nested classes/interfaces inherited from interface org.ametys.plugins.odfpilotage.report.PilotageReport
PilotageReport.PilotageReportTarget
-
Field Summary
Fields inherited from class org.ametys.plugins.odfpilotage.report.impl.AbstractMCCReport
FIRST_SESSION_NAME, SECOND_SESSION_NAME, SESSION_NAME_PREFIX
Fields inherited from class org.ametys.plugins.odfpilotage.report.AbstractPilotageReport
_currentFormattedDate, _i18nUtils, _odfHelper, _pilotageHelper, _refTableHelper, _reportHelper, _resolver, _sourceResolver, _tmpFolder, _userManager, MANIFEST_FILENAME
Fields inherited from interface org.ametys.plugins.odfpilotage.report.PilotageReport
OUTPUT_FORMAT_DOC, OUTPUT_FORMAT_XLS, PARAMETER_CATALOG, PARAMETER_LANG, PARAMETER_ORGUNIT, PARAMETER_OUTPUT_FORMAT, PARAMETER_PROGRAM
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getType()
Get the name of the reportprotected void
Populate the MCC tree.protected void
saxGlobalInformations
(TransformerHandler handler, Program program) Sax the additional global informations of the report.protected void
saxMCCs
(TransformerHandler handler, Course course, MCCAmetysObjectTree tree) Sax the MCC sessions.Methods inherited from class org.ametys.plugins.odfpilotage.report.impl.AbstractMCCReport
_getReportFileName, _launchByOrgUnit, _processMCC, _writeReportsMcc, addProgram2MCCAmetysObjectTree, extractMCCAmetysObjectTree, saxContainer, saxCourse, saxCourseList, saxCourseParts, saxOrgUnit, saxProgram, saxSessionEntryDetails, saxSubProgram, saxTree, saxTreeChildren
Methods inherited from class org.ametys.plugins.odfpilotage.report.impl.AbstractReport
_getReportFileName, isSupportedTarget, launchByOrgUnit, launchByProgram
Methods inherited from class org.ametys.plugins.odfpilotage.report.AbstractPilotageReport
_buildZipName, addManifest, configure, convertReport, createZipFile, getId, getLabel, getMailBody, getMailSubject, getOutputFormat, getPipeline, getPluginName, getReportName, getSupportedOutputFormats, initialize, isCompatibleSchedulable, isGeneric, isSupportedFormat, launch, sendMail, service, setPluginInfo, supports
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
MCCReport
public MCCReport()
-
-
Method Details
-
getType
Description copied from class:AbstractPilotageReport
Get the name of the report- Specified by:
getType
in classAbstractPilotageReport
- Returns:
- The report name
-
saxMCCs
protected void saxMCCs(TransformerHandler handler, Course course, MCCAmetysObjectTree tree) throws SAXException Description copied from class:AbstractMCCReport
Sax the MCC sessions.- Specified by:
saxMCCs
in classAbstractMCCReport
- Parameters:
handler
- The transformer handlercourse
- The concernedCourse
to sax the MCCs ontree
- The MCC tree- Throws:
SAXException
- If an error occurs
-
populateMCCAmetysObjectTree
Description copied from class:AbstractMCCReport
Populate the MCC tree.- Specified by:
populateMCCAmetysObjectTree
in classAbstractMCCReport
- Parameters:
tree
- The MCC tree
-
saxGlobalInformations
protected void saxGlobalInformations(TransformerHandler handler, Program program) throws SAXException Description copied from class:AbstractMCCReport
Sax the additional global informations of the report.- Specified by:
saxGlobalInformations
in classAbstractMCCReport
- Parameters:
handler
- The transformer handlerprogram
- The program on which the report is launched- Throws:
SAXException
- If an error occurs
-