Class ODFContentsTreeHelper
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.contentstree.ContentsTreeHelper
-
- org.ametys.odf.tree.ODFContentsTreeHelper
-
- org.ametys.plugins.odfpilotage.helper.ODFContentsTreeHelper
-
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
public class ODFContentsTreeHelper extends ODFContentsTreeHelper
Override theODFContentsTreeHelper
from ODF to add data for indicators.
-
-
Field Summary
Fields Modifier and Type Field Description private static String
__ETAPE_PORTEUSE
-
Fields inherited from class org.ametys.odf.tree.ODFContentsTreeHelper
_odfHelper, _shareableCourseHelper, _shareableStatusHelper, _workflowProvider, ROLE
-
Fields inherited from class org.ametys.plugins.contentstree.ContentsTreeHelper
_ametysResolver, _contentTypesEP, _contentTypesHelper, _treeExtensionPoint
-
-
Constructor Summary
Constructors Constructor Description ODFContentsTreeHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>
content2Json(Content content)
Get the default JSON representation of a content of the tree-
Methods inherited from class org.ametys.odf.tree.ODFContentsTreeHelper
getProgramItemDisplayCode, getRootNodeInformations, getShareableStatus, getWorkflowStep, isContentMatching, isShared, isSharedByParents, service
-
Methods inherited from class org.ametys.plugins.contentstree.ContentsTreeHelper
_getParentContent, _getTreeConfiguration, childContent2Json, filterChildrenContentByRegExp, getChildrenContent, getChildrenContent, getNodeInformations, hasChildrenContent
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
__ETAPE_PORTEUSE
private static final String __ETAPE_PORTEUSE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ODFContentsTreeHelper
public ODFContentsTreeHelper()
-
-
Method Detail
-
content2Json
protected Map<String,Object> content2Json(Content content)
Description copied from class:ContentsTreeHelper
Get the default JSON representation of a content of the tree- Overrides:
content2Json
in classODFContentsTreeHelper
- Parameters:
content
- the content- Returns:
- the content as JSON
-
-