java.lang.Object
ch.tocco.nice2.optional.qualification.impl.freemarker.qualificationstructure.QualificationStructureMethod
All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

public class QualificationStructureMethod extends Object implements freemarker.template.TemplateMethodModelEx
used to build the qualification data tree when creating reports builds the entire tree, without checking for visible flags or level constraints this can be handled in DisplayQualificationStructureDirective or in freemarker itself the starting node can be given as a argument arguments: 1) an Evaluation_data Entity 2) a node id as a String to start the tree from (optional)
  • Constructor Details

    • QualificationStructureMethod

      public QualificationStructureMethod(QualificationService qualificationService)
  • Method Details

    • exec

      public Object exec(List arguments) throws freemarker.template.TemplateModelException
      Specified by:
      exec in interface freemarker.template.TemplateMethodModel
      Specified by:
      exec in interface freemarker.template.TemplateMethodModelEx
      Throws:
      freemarker.template.TemplateModelException