Class DatavizXSLTHelper

java.lang.Object
org.ametys.odf.DatavizXSLTHelper
All Implemented Interfaces:
Serviceable

public class DatavizXSLTHelper extends Object implements Serviceable
XSLT helper for dataviz in ODF documents.
  • Constructor Details

  • Method Details

    • service

      public void service(ServiceManager smanager) throws ServiceException
      Specified by:
      service in interface Serviceable
      Throws:
      ServiceException
    • getCareerOutcomeDomain

      public Node getCareerOutcomeDomain(String contentId)
      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

      public static AmetysNodeList groupOutcomesByDomain(String contentId)
      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