Class LoadReferencesDirective
java.lang.Object
ch.tocco.nice2.dms.impl.freemarker.LoadReferencesDirective
- All Implemented Interfaces:
Nice2TemplateDirective, TemplateIdentifiers, freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel
public class LoadReferencesDirective
extends Object
implements TemplateIdentifiers, Nice2TemplateDirective
This directive loads and prints the references which point to a node.
Parameters:
* entity (required): The entity which represents the node.
-
Nested Class Summary
Nested classes/interfaces inherited from interface TemplateIdentifiers
TemplateIdentifiers.Scope -
Field Summary
Fields inherited from interface TemplateIdentifiers
BASEDATA_VAR, DELIMITER_PARAM, ENTITY_PARAM, INLINE_TEMPLATE, KEY, LIMIT_PARAM, LINE_END_PARAM, LINE_START_PARAM, NAME_PARAM, PATH_PARAM, PATHS_PARAM, PATTERN_PARAM, RECIPIENT_VAR, SCOPE_PARAM, SENDER_VAR, SINGLE_BASE_VAR, TARGET_VAR, VALUE_PARAMFields inherited from interface freemarker.template.TemplateModel
NOTHING -
Constructor Summary
ConstructorsConstructorDescriptionLoadReferencesDirective(ReferencesService referencesService, ReferencesHtmlBuilder referencesHtmlBuilder) -
Method Summary
-
Constructor Details
-
LoadReferencesDirective
public LoadReferencesDirective(ReferencesService referencesService, ReferencesHtmlBuilder referencesHtmlBuilder)
-
-
Method Details
-
execute
public void execute(freemarker.core.Environment env, Map params, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody body) throws freemarker.template.TemplateException, IOException - Specified by:
executein interfacefreemarker.template.TemplateDirectiveModel- Throws:
freemarker.template.TemplateExceptionIOException
-