Package org.ametys.plugins.odfweb
Class ODFHelper
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.odf.ODFHelper
org.ametys.plugins.odfweb.ODFHelper
- All Implemented Interfaces:
LogEnabled
,Initializable
,Component
,Contextualizable
,Serviceable
Helper for ODF contents
-
Field Summary
Fields inherited from class org.ametys.odf.ODFHelper
__INITIAL_WORKFLOW_ACTION_ID, _cacheManager, _contentDAO, _contentHelper, _context, _cTypeEP, _ouRootProvider, _outgoingReferencesExtractor, _resolver, _shareableCourseHelper, REQUEST_ATTRIBUTE_VALID_LABEL, ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
service
(ServiceManager manager) boolean
useLegacyProgramStructure
(ProgramItem programItem) Determines if legacy sax of program structure should be usedMethods inherited from class org.ametys.odf.ODFHelper
_cleanContentMetadata, _getRequest, contextualize, copyCoursePart, copyProgramItem, copyProgramItem, copyProgramItem, copyProgramItemStructure, generateUniqueCode, getChildProgramItems, getChildSubPrograms, getCoursePart, getCumulatedHours, getDescendantRelationAttributeName, getEducationalPathAsString, getEducationalPathAsString, getEducationalPathAsString, getEducationalPaths, getEducationalPaths, getEducationalPaths, getEducationalPathsEnumeration, getEducationPathFromPath, getEducationPathFromPath, getEducationPathFromPaths, getEducationPathFromPaths, getODFContent, getOrgUnitByUAICode, getOrgUnitPath, getOrgUnitPath, getOrgUnitPath, getParentAbstractPrograms, getParentAbstractPrograms, getParentAbstractPrograms, getParentAbstractPrograms, getParentContainers, getParentContainers, getParentProgramItem, getParentProgramItems, getParentProgramItems, getParentPrograms, getParentPrograms, getParentPrograms, getParentSubPrograms, getParentSubPrograms, getParentSubPrograms, getParentSubPrograms, getPathInCourse, getPathInCourse, getPathInProgram, getPathInProgram, getPathOfAncestors, getPaths, getPaths, getPaths, getProgramItem, getProgramItemInfo, getProgramItems, getProgramItems, getProgramItems, getProgramItems, getProgramsFromOrgUnit, getProgramsFromOrgUnit, getProgramsReferencingOrgunit, getProgramsReferencingPerson, getRepeaterEntriesByPath, getRepeaterEntryPositionForPath, getRepeaterEntryPositionForPath, getRootContent, getRootContent, getStructureInfo, getStructureInfo, getSubOrgUnitIds, getValueForPath, getValueForPath, getValuesForPaths, getValuesForPaths, hasAncestor, hasParentProgramItems, initialize, isRelationCompatible, isSameValueForAllPaths, isSameValueForPaths, isShared, isValid, isValid, switchToLiveVersion, switchToLiveVersionIfNeeded
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
ODFHelper
public ODFHelper()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classODFHelper
- Throws:
ServiceException
-
useLegacyProgramStructure
Description copied from class:ODFHelper
Determines if legacy sax of program structure should be used- Overrides:
useLegacyProgramStructure
in classODFHelper
- Parameters:
programItem
- the program item beeing rendering- Returns:
- true if legacy sax of program structure should be used
-