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:
DeferredServiceable
,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, _refTableHelper, _resolver, _rightManager, _shareableCourseHelper, REQUEST_ATTRIBUTE_VALID_LABEL, ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deferredService
(ServiceManager manager) Pass theServiceManager
used to access other components.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, getStructureInfo, getSubOrgUnitIds, getValueForPath, getValueForPath, getValuesForPaths, getValuesForPaths, getYearId, getYears, hasAncestor, hasParentProgramItems, initialize, isContainerOfNature, isContainerOfTypeYear, isContainerOfTypeYear, isContainerOfTypeYear, isRelationCompatible, isSameValueForAllPaths, isSameValueForPaths, isShared, isValid, isValid, service, switchToLiveVersion, switchToLiveVersionIfNeeded
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
ODFHelper
public ODFHelper()
-
-
Method Details
-
deferredService
Description copied from interface:DeferredServiceable
Pass theServiceManager
used to access other components.- Specified by:
deferredService
in interfaceDeferredServiceable
- Parameters:
manager
- TheServiceManager
which thisDeferredServiceable
uses. Must not benull
.- Throws:
ServiceException
- if an error occurs
-
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
-