Class SalutationDirective

java.lang.Object
ch.tocco.nice2.optional.address.impl.SalutationDirective
All Implemented Interfaces:
Nice2TemplateDirective, TemplateIdentifiers, freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel

public class SalutationDirective extends Object implements Nice2TemplateDirective, TemplateIdentifiers
Directive to receive the salutation for a specified user
  • Constructor Details

    • SalutationDirective

      public SalutationDirective(AddressService addressService, L10N l10N)
  • 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:
      execute in interface freemarker.template.TemplateDirectiveModel
      Throws:
      freemarker.template.TemplateException
      IOException