Class TemplateSnippetDirective
java.lang.Object
ch.tocco.nice2.templating.impl.freemarker.directives.TemplateSnippetDirective
- All Implemented Interfaces:
Nice2TemplateDirective
,freemarker.template.TemplateDirectiveModel
,freemarker.template.TemplateModel
Inserts an executed 'Template_snippet' entity.
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
ConstructorDescriptionTemplateSnippetDirective
(QueryBuilderFactory queryBuilderFactory, SecurityManager securityManager, Context context) -
Method Summary
-
Constructor Details
-
TemplateSnippetDirective
public TemplateSnippetDirective(QueryBuilderFactory queryBuilderFactory, SecurityManager securityManager, Context context)
-
-
Method Details
-
execute
public void execute(freemarker.core.Environment environment, Map paramMap, 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
-