Package org.ametys.odf
Class DatavizXSLTHelper
java.lang.Object
org.ametys.odf.DatavizXSLTHelper
- All Implemented Interfaces:
Serviceable
XSLT helper for dataviz in ODF documents.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCareerOutcomeDomain(String contentId) Get the career outcome domain entry for a given career outcome content id.static AmetysNodeListgroupOutcomesByDomain(String contentId) Group career outcomes by their domain for a given content id.voidservice(ServiceManager smanager)
-
Constructor Details
-
DatavizXSLTHelper
public DatavizXSLTHelper()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getCareerOutcomeDomain
Get the career outcome domain entry for a given career outcome content id.- Parameters:
contentId- The career outcome content id- Returns:
- The career outcome domain entry or null if not found
-
groupOutcomesByDomain
Group career outcomes by their domain for a given content id.- Parameters:
contentId- The content id containing the career outcomes distribution- Returns:
- The distribution grouped by domain as an AmetysNodeList or null if not found
-