Class GetRelevantRatingMethod
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.freemarker.GetRelevantRatingMethod
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel
,freemarker.template.TemplateMethodModelEx
,freemarker.template.TemplateModel
public class GetRelevantRatingMethod
extends Object
implements freemarker.template.TemplateMethodModelEx
returns the rating of a given input data
Entity
or a text resource
in case of dispensation.
usage: getRelevantRating(inputData)-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
ConstructorDescriptionGetRelevantRatingMethod
(TextResources textResources, QualificationService qualificationService) -
Method Summary
-
Constructor Details
-
GetRelevantRatingMethod
public GetRelevantRatingMethod(TextResources textResources, QualificationService qualificationService)
-
-
Method Details
-
exec
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModel
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModelEx
- Throws:
freemarker.template.TemplateModelException
-