Class RelationFilterDirective
java.lang.Object
ch.tocco.nice2.duplicate.impl.search.config.RelationFilterDirective
- All Implemented Interfaces:
Nice2TemplateDirective
,freemarker.template.TemplateDirectiveModel
,freemarker.template.TemplateModel
Directive that prints the content of the 'nice.duplicate.DuplicateFilters' contribution
for a given model in a human readable way.
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(freemarker.core.Environment environment, Map params, freemarker.template.TemplateModel[] templateModels, freemarker.template.TemplateDirectiveBody templateDirectiveBody) void
setFilterContributions
(List<DuplicateFilterContribution> filterContributions)
-
Constructor Details
-
RelationFilterDirective
-
-
Method Details
-
setFilterContributions
@Autowired public void setFilterContributions(List<DuplicateFilterContribution> filterContributions) -
execute
public void execute(freemarker.core.Environment environment, Map params, freemarker.template.TemplateModel[] templateModels, freemarker.template.TemplateDirectiveBody templateDirectiveBody) throws freemarker.template.TemplateException, IOException - Specified by:
execute
in interfacefreemarker.template.TemplateDirectiveModel
- Throws:
freemarker.template.TemplateException
IOException
-